No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE]// Randam Guessing Game #include <iostream> #define NEWLINE "\n\n\n" #include <cstdlib> // need to use rand() function #include <ctime> using namespace std; /*void Start(); void GetResult(); void HighScore(); int a, b, chance, maxrand; char difficultychoice, menuchoice, diffchoice; void Start() { a = 0; b = 0; chance = 0; maxrand … | |
Hi, I don't know where i when wrong... But my program doesn't want to loop properly. I was ask to make a Simple calculator that will loop the ans till giving a exit. here is what i got... #include <iostream> #define NEWLINE "\n\n"; using namespace std; int main() { char … |