Anyone wanna halp? I am stuck and running out of time.
I am supposed to do this: Write a function that will display a single multiplication table. It is to receive a single integer and produce a table that contains all the multiplication facts for that number multiplying it by each number from 0 to 12. Use the iomanip commands to have the values in the table line up nicely.
Write a main function that asks the user what multiplication tables they would like printed. Get two numbers from the user. Verify that the second number is greater than or equal to the first number. If it is not, have the user continue to enter the second number until it is larger than or equal to the first. Have the program print all the multiplication tables from the first number to the last number. To print these tables, main is to call the function described above the correct number of times and with the correct value each time.
I think I am doing the math wrong in the showsingleTable function and or calling it the wrong amount of times in the main function. I can barley keep my eyes open and the due date for this is coming up.
Instead of count as the variable for your main for loop, start it with value1 and iterate all the way to value2, passing in each iteration to your function each time. I'm on my phone so I cant post an example, but you should be able to figure that out