In any programming language, loops are used to execute a set of statements many number of times. A while loop gets a condition and a block of code (called the body of the loop). It will continue executing the block of code again and again as long as the condition is true.
Our program will input two big numbers and display their sum on the screen. After each output, the program will ask the user if he wants to input more numbers. If the user wants to input more numbers, the program will take the input again otherwise, the program will exit.
Write a program to input a number and display its table upto 10th multiple on the screen in the following format: