program to print circle structure
Answer / 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 |
What are the different types of control structures?
can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?
What is hash table in c?
what is the use of keyword volatile??
What is string constants?
What does malloc () calloc () realloc () free () do?
What is getch?
When can you use a pointer with a function?
How to write a code for reverse of string without using string functions?
State the difference between realloc and free.
write a program to create a sparse matrix using dynamic memory allocation.
What is a far pointer in c?