program to print circle structure



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

Post New Answer

More C Interview Questions

main() {int a=200*200/100; printf("%d",a); }

14 Answers   TCS,


Why is c not oop?

0 Answers  


What is extern storage class in c?

0 Answers  


Explain data types & how many data types supported by c?

0 Answers  


How do you initialize function pointers? Give an example?

3 Answers  






Is c call by value?

0 Answers  


What is c preprocessor mean?

0 Answers  


Can a pointer be static?

0 Answers  


how can i calculate mean,median,mode by using c program

1 Answers   HCL,


what is the difference between procedure oriented and object oriented progaming language

1 Answers  


swap two integer variables without using a third temporary variable?

6 Answers   Persistent,


What are types of structure?

0 Answers  


Categories