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



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

Post New Answer

More C Interview Questions

wats SIZE_T meant for?

1 Answers  


write a c prog for removing duplicate character from an array and sorting remaining elements using a single array

1 Answers  


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

0 Answers  


Why isn't any of this standardized in c? Any real program has to do some of these things.

0 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


What is a macro?

0 Answers  


Differentiate between ordinary variable and pointer in c.

0 Answers  


List some of the dynamic data structures in C?

0 Answers  


What are the key features in c programming language?

0 Answers  


What are the languages are portable and platform independent?Why they are like that?

1 Answers   Excel, Satyam,


What is the maximum no. of arguments that can be given in a command line in C.?

0 Answers   HCL,


who is the father of C Language?

20 Answers   CTS, UST,


Categories