Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In C++ you are to write a program that will multiply two numbers and print out t

ID: 3542044 • Letter: I

Question

In C++


you are to write a program that will multiply two numbers and print out the two numbers and the results.  Your program should handle up to 30 digit integer numbers.

Your input for this program is found in BigNumber.txt

The input format is one number per line.  You will have several pairs of numbers to process.

Label your output.  

Format of output:  Print out the two numbers you read in and the product.  I want the three numbers are right one number per line, right hand justified and NO leading zeros.

Example:                           12222

                                      x 5555555

                                --------------------

                             679011043210

Explanation / Answer

import java.util.Scanner; class MultiplicationTable { public static void main(String args[]) { int n, c; System.out.println("Enter an integer to print it's multiplication table"); Scanner in = new Scanner(System.in); n = in.nextInt(); System.out.println("Multiplication table of "+n+" is :-"); for ( c = 1 ; c