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 an lvalue?
Why c is known as a mother language?
What is null in c?
Explain the difference between #include "..." And #include <...> In c?
What are the types of bitwise operator?
Why c is called free form language?
What is clrscr ()?
What are linked lists in c?
What are the advantages and disadvantages of c language?
What does main () mean in c?
What is the stack in c?
How can I remove the leading spaces from a string?
Why doesn't C support function overloading?
What are the disadvantages of c language?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.