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 |
Explain zero based addressing.
Why do we need a structure?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What are data breakpoints?
We can draw a box in cprogram by using only one printf();& without using graphic.h header file?
What language is windows 1.0 written?
What are the languages are portable and platform independent?Why they are like that?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????
if we take a number as a char then can we manipulate(add, subtract) on this number
int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }