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 does p mean in physics?
Write a function that will take in a phone number and output all possible alphabetical combinations
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
all c language question
Where is volatile variable stored?
Can i use “int” data type to store the value 32768? Why?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What is a node in c?
Is there a way to compare two structure variables?
Explain what does it mean when a pointer is used in an if statement?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
Is it fine to write void main () or main () in c?
Why do we use & in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
How to define structures? ·