- 3

How to print circle in c program

C program

16th Mar 2022, 3:51 PM
Sudhakar Katam
8 Answers
+ 3
Hi, I have never done GUI things in C, but I know there exists some libraries that are used to do that. One of them are GTK. This might help you. https://www.geeksforgeeks.org/how-to-create-gui-in-c-programming-using-gtk-toolkit/ You have to download GTK and have to link it with your IDE.
16th Mar 2022, 6:13 PM
Kashyap Kumar
Kashyap Kumar - avatar
+ 3
Sorry I have too: #include<stdio.h> int main (void) {puts"O");} It's not a perfect circle but it's round.
16th Mar 2022, 8:39 PM
William Owens
William Owens - avatar
+ 3
Here is a pattern for O which is almost circle. See and learn https://code.sololearn.com/cb45rOLY4obV/?ref=app
17th Mar 2022, 12:54 AM
A͢J
A͢J - avatar
+ 2
Nice one A͢J Here is my Pacman (use option 4 or 3 or I don't remember....) https://code.sololearn.com/cME89b80H4iP/?ref=app
17th Mar 2022, 1:14 AM
HungryTradie
HungryTradie - avatar
+ 1
Here is a way to print a circle using ASCII characters. #include <stdio.h> int main() { puts(" ***") puts(" *******") puts("**********") puts("**********") puts(" *******") puts(" ***") return 0; }
16th Mar 2022, 8:35 PM
Brian
Brian - avatar
0
Google it 😉
16th Mar 2022, 4:28 PM
JOKER
JOKER - avatar
0
Ok u don't know anything right
16th Mar 2022, 4:34 PM
Sudhakar Katam
0
G'day Sudhakar Katam we want to help you, but it needs to be help not "do your homework" for you... Make a SoloLearn "code bit" with what you have so far and edit your original post to include that program. Do not copy+paste it in to the words of these questions! We can then run your program, make minor adjustments, let you know what we try, ok?
16th Mar 2022, 6:49 PM
HungryTradie
HungryTradie - avatar