Math Tutor Problem
//C++ Program Math Problem //Gabriel Reyes January 11, 2022 CIS-5 //Write a program that can be used as a math tutor for a young student. //The program should display two random numbers to be added, such as //The program should then pause while the student works on the problem. //When the student is ready to check the answer, he or she can press a key and the program should display the correct solution. #include<iostream> using namespace std; int main() { //declared variables float Num1 = 0; float Num2 = 0; float Answer = 0; //input section cout << "Hello! Today we will be doing some basic Math\n\n"; cout << "Please enter One Random Number!: "; cin >> Num1; cout << endl; cout << "Please enter a Second Random Number!: "; cin >> Num2; cout << endl; Answer = Num1 + Num2; cout << "Solve your problem on Paper, When you are ready, enter any button! "; cout << endl; system("pause"); cout << "Your Total number is: "; Answer; cout << endl; cout << "Thank you for your time! Goodbye!"; return 0; } Hello I am trying to have the user type in two random numbers to give a total but when I after i type in my two random numbers it leaves it blank when it is suppose to add up, any help on this? and any suggestions on how I can format this to be much cleaner? Thank you!