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

Who invented bcpl language?

1115


Explain modulus operator.

990


What is meant by gets in c?

1103


Is main is user defined function?

1068


What are the difference between a free-standing and a hosted environment?

1217


What is 2c dna?

1012


I came across some code that puts a (void) cast before each call to printf. Why?

1149


How can I find the modification date of a file?

1211


Can a function argument have default value?

1089


explain what is fifo?

1022


What is typedef struct in c?

995


write a program to display all prime numbers

1907


What is calloc in c?

1074


What is a null string in c?

985


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15719