Write a program in c using only loops to print *
* *
* *
*******
Answer Posted / veera
#include<stdio.h>
#include<math.h>
main()
{
clrscr();
printf("*");
printf("\n");
printf("* *");
printf("\n");
printf("* *");
printf("\n");
printf("*******");
getch();
}
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is a null string in c?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What is the difference between fread and fwrite function?
What is the purpose of realloc()?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What do header files do?
Write a program to generate random numbers in c?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is gets() function?
How can I get the current date or time of day in a c program?
How is a null pointer different from a dangling pointer?
Write a program to check palindrome number in c programming?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is the difference between array_name and &array_name?