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 are compound statements?
Explain can you assign a different address to an array tag?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Explain how do you determine whether to use a stream function or a low-level function?
How important is structure in life?
What is the meaning of ?
What are the valid places to have keyword “break”?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
Which header file should you include if you are to develop a function which can accept variable number of arguments?
How can my program discover the complete pathname to the executable from which it was invoked?
What's the total generic pointer type?
State the difference between x3 and x[3].
Tell me when is a void pointer used?
Can two or more operators such as and be combined in a single line of program code?
Who is the founder of c language?