I am trying to run a program that asks for a number and the user will type a number in, it will then and for a second number and the user will enter another number, the product will then give the result of the 2 number multiplication. How do i go about it?
I already have the console application with:
1. Hello World
2. Print numbers 1 to 10
3. Multiply Numbers
9.Quit
they all work but I’m having a tough time trying to figure out how to multiply numbers, I can do it with set number as x = 5 and y = 3 etc but I want it to be able to multiply 2 numbers that are written into the Command prompt, does anyone have any tips or can point me in the right direction? I’m not asking for it to be written for me, I’m asking for help on a particular part of a working program I have made
1 Answer