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 |
prog for 1st five prime numbers in 2^x - 1
how to print "hai" in c?
What will be your course of action for a push operation?
How can I change the size of the dynamically allocated array?
Explain what is the benefit of using enum to declare a constant?
if p is a string contained in a string?
2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.
Differentiate between new and malloc(), delete and free() ?
Explain in detail how strset (string handling function works )pls explain it with an example.
what is the main use of c where it can use the c
what is real time system?what is the differance between hard and soft real time systems
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff