Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 15 Online
OpenStudy (anonymous):

Help please. I want to make a program in which I will use the C++ as language. The program will ask 2 numbers and output should be the sum of two numbers, product of the two numbers, and compare the numbers through boolean and print "true" if a>b and print "false" if a

OpenStudy (anonymous):

then read a C++ book, all things you mentioned is straightforward

OpenStudy (anonymous):

Declare two integers, make the program say something like 'Please write two numbers'. Then take inputs from the keyboard 'cin >> (VAR)'. Then just make the program do the math and print out the results.If you need help for functions in C++ I suggest you go look on the MSDN homepage.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!