create a new file in c++.
In this lab, you will add some more functionality to the program. Use loops to keep running the program until the user chooses the exit condition (X or x). When dividing, use a loop to validate user input, making sure the denominator (second number) is not zero. If the user enters a 0 for the second number, display an error message and ask them again.
A) Add two numbersB) Subtract two numbersC) Multiply two numbersD) Divide two numbersX) Exit program
The program should:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here