Lab 6: Multiplication Table Write a program that will continually ask the user to enter a positive number from standard input and print out the multiplication number table until user enters an...


CS102 Programming language is C++.


Lab 6: Multiplication Table<br>Write a program that will continually ask the user to enter a positive number from standard input and<br>print out the multiplication number table until user enters an alphabet (non number) to quit. Once user<br>enters 'Q' or anything other than a number, the program will print out “Have a nice day

Extracted text: Lab 6: Multiplication Table Write a program that will continually ask the user to enter a positive number from standard input and print out the multiplication number table until user enters an alphabet (non number) to quit. Once user enters 'Q' or anything other than a number, the program will print out “Have a nice day" and then exit the program. After reading the user's input the positive number, the program will print out the multiplication table of the inputted number. For example, if user enters 5, the table should be: Multiplication table for 5 is: 2 3 4 5 4 6 8 10 9 12 15 8 12 16 20 5 10 15 20 25 Your program needs continuously ask the user to enter the a positive number until the user enters Q or q to exit the program. Your program must print out your names and lab info as you did in previous lab similar to the following: Program written by: Ron Sha Course info: Cs-102 Lab 6 - Multiplication Table Date: Wed Oct 14 11:35:18 2020 Activate un 1.2345

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here