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

what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }

1 Answers   Motorola,


Explain what is the difference between functions getch() and getche()?

0 Answers  


program to print circle structure

1 Answers  


What is the explanation for modular programming?

0 Answers  


What is an lvalue and an rvalue?

1 Answers  


how can i sort numbers from ascending order and descending order using turbo c..

1 Answers  


what is the main use of c where it can use the c

2 Answers   Infosys,


How can you increase the size of a statically allocated array?

0 Answers   TISL,


Under what circumstances does a name clash occur?

0 Answers   InterGraph,


What is getch c?

0 Answers  


What is meant by recursion?

0 Answers   ADP,


What are header files? What are their uses?

0 Answers  


Categories