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 usage of pointer in c?
What are different types of operators?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.
How can I find the modification date and time of a file?
Why cd or dvd are round why not square.
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.
What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *
write a program to concatenation the string using switch case?
what is the output of printf("%d",(scanf("%d",10));
How can you pass an array to a function by value?