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
Tell me what is the purpose of 'register' keyword in c language?
Why #include is used in c language?
Are the outer parentheses in return statements really optional?
What is the difference between test design and test case design?
Can we declare a function inside a function in c?
Explain how do you list files in a directory?
What is the difference between fread and fwrite function?
What is a header file?
What is a built-in function in C?
How can I write functions that take a variable number of arguments?
What is difference between structure and union?
What is a wrapper function in c?
How do I get an accurate error status return from system on ms-dos?
Can we increase size of array in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.