PDA

View Full Version : Help with a simple C++ program


ogden2k
05-15-2003, 07:27 PM
Hi im a beginner at C++ im havin a problem with this i was wondering if anyone could help.


This is the question:

Write a program that can be used as a math tutor for a young student. The prgram should display two random number to be added, such as:
247+129. The program should then pause whie the student works on the problem. When the student is ready to check his or her answer, can be clicked and the program will display the correct solution.

Jason
05-15-2003, 09:52 PM
so start the program...we aren't here to write it for you..read the posting guidlines. But regarding your question, start with a random number generator and since those are numbers from 0-1 then you would need to multiply that number by 1000 to get a digit from 0-1000 and have it do some printing with some pausing....there you go. But next time read the guidlines before posting....


Jason

Spookster
05-15-2003, 11:50 PM
As Jason stated you should start writing the program first since this of course sounds like a homework assignment. We do not do homework for people. Write it yourself and if you get stuck ask a specific question and we can guide you along but we are not going to do it for you.

Nute Gunray
05-28-2003, 05:00 PM
Yes, they are right. You should not expect people to do your homework for you. :) But if you need help feel free to ask me or them any questions. :thumbsup: