Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

program to print circle structure

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


Please Help Members By Posting Answers For Below Questions

What does p mean in physics?

992


Write a function that will take in a phone number and output all possible alphabetical combinations

1001


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2692


all c language question

2381


Where is volatile variable stored?

1028


Can i use “int” data type to store the value 32768? Why?

1146


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

1077


What is a node in c?

921


Is there a way to compare two structure variables?

1060


Explain what does it mean when a pointer is used in an if statement?

1006


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

1016


Is it fine to write void main () or main () in c?

968


Why do we use & in c?

951


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1168


‎How to define structures? · ‎

1036