Answer Posted / 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 View All Answers
What is a structure in c language. how to initialise a structure in c?
How many levels of pointers can you have?
What are the advantages of Macro over function?
What is pointer to pointer in c?
Can you add pointers together? Why would you?
What is the use of header files?
What is || operator and how does it function in a program?
Explain spaghetti programming?
What is scope and lifetime of a variable in c?
How can you find the exact size of a data type in c?
What is merge sort in c?
Write a program of advanced Fibonacci series.
Is there anything like an ifdef for typedefs?
How do c compilers work?
What's the right way to use errno?