program to print circle structure
Answer / sevak.yatrik777
#include<stdio.h>
#include<math.h>
int main(){
int ab, ord;
for(ab = -5; ab <= 5; ab++){
for(ord = -5; ord <= 5; ord++){
if(pow(ab,2)+pow(ord, 2)==25)
printf("+");
else
printf(" ");
}
printf("\n");
}
return 0;
}
| Is This Answer Correct ? | 18 Yes | 7 No |
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
Explain what is the difference between functions getch() and getche()?
program to print circle structure
What is the explanation for modular programming?
What is an lvalue and an rvalue?
how can i sort numbers from ascending order and descending order using turbo c..
what is the main use of c where it can use the c
How can you increase the size of a statically allocated array?
Under what circumstances does a name clash occur?
What is getch c?
What is meant by recursion?
What are header files? What are their uses?