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 categories used for in c?
can anyone please tell about the nested interrupts?
Why header files are used?
Why is this loop always executing once?
Does c have function or method?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Define circular linked list.
Does c have an equivalent to pascals with statement?
what are enumerations in C
how to find anagram without using string functions using only loops in c programming
plz let me know how to become a telecom protocol tester. thank you.
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
What are different storage class specifiers in c?
How are 16- and 32-bit numbers stored?
Explain why can’t constant values be used to define an array’s initial size?