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 |
wat is the meaning of c?
Is a house a mass structure?
find second largest element in array w/o using sorting techniques? use onle one for loop.
15 Answers BitWise, Zycus Infotech,
What is the use of pointers in C?
0 Answers Impetus, Motorola, Tavant Technologies, Virtusa,
How can I write a function analogous to scanf?
Why can’t constant values be used to define an array’s initial size?
What are preprocessor directives in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is the best organizational structure?
how to find the sizof of any datatype using bit manipulations
What is the difference between malloc() and calloc()?
write a program to generate 1st n fibonacci prime number