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 is a structure in c language. how to initialise a structure in c?

1067


How many levels of pointers can you have?

1192


What are the advantages of Macro over function?

2023


What is pointer to pointer in c?

1114


Can you add pointers together? Why would you?

1126


What is the use of header files?

1110


What is || operator and how does it function in a program?

1092


Explain spaghetti programming?

1250


What is scope and lifetime of a variable in c?

1063


How can you find the exact size of a data type in c?

1003


What is merge sort in c?

1050


Write a program of advanced Fibonacci series.

1149


Is there anything like an ifdef for typedefs?

1152


How do c compilers work?

1132


What's the right way to use errno?

1147