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 the importance of c in your views?
Can i use “int” data type to store the value 32768? Why?
How to write c functions that modify head pointer of a linked list?
What is c basic?
Is c still relevant?
How many levels deep can include files be nested?
How can I implement sets or arrays of bits?
What is scanf () in c?
What are volatile variables in c?
What does node * mean?
Explain the difference between malloc() and calloc() in c?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is the difference between array_name and &array_name?
What are lookup tables in c?
Linked lists -- can you tell me how to check whether a linked list is circular?