- 3
How to print circle in c program
C program
8 ответов
+ 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.
+ 3
Sorry I have too:
#include<stdio.h> int main (void) {puts"O");}
It's not a perfect circle but it's round.
+ 3
Here is a pattern for O which is almost circle. See and learn
https://code.sololearn.com/cb45rOLY4obV/?ref=app
+ 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
+ 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;
}
0
Google it 😉
0
Ok u don't know anything right
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?