No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
(>^.^)><(^.^<) <((^_^))> "I was never afraid of failure, for I would sooner fail than not be among the best." The name's Kathlyn. Kat for short. for me everything is possible only if you think possibly. I'm a Filipino. I love…
This is supposed to be a Rock-Paper-Scissors game. Everything's just going fine until I inserted graphics. What I was supposed to do is to display the figures I've poorly made whenever a choice is made. I can't really explain it so please take a look at my code, thanks (I'm … |
|
I need help to display on the screen rock when user picks rock, paper when user picks paper, and scissors when user picks scissors. Thanks |
|
#include<stdio.h> #include<conio.h> main () { clrscr(); int a=1,b,sum; while (a<=100) { sum=0; for (b=1; b<=a+9; b++) { sum=sum+b; printf("Sum is %d.\n", sum); } a=a+20; b=a; } getch(); return(0); } -This code is supposed to print the sum of the first 100 words. Getting the sum of the first ten, skipping … |