Question: 1. Write a structured program that accepts two integer numbers up to 40 digits and perform the followings: Add the two numbers and display the

 1. Write a structured program that accepts two integer numbers up

1. Write a structured program that accepts two integer numbers up to 40 digits and perform the followings: Add the two numbers and display the result. For example, o if the first input is 236598745632 and the second input is 2453254365546764765, your program must calculate 2453254602145510397 You must read the two input numbers as string objects. -- You may assume that your inputs are valid strings and your program only works for positive integer numbers. You cannot use any of BigDecimal I Blglnteger I double 1 long! int types for your calculations. The result number should be separated by commas. For example If inputs are: 0 Numberl: 236598745632 0 NumberZ: 2453254365546764765 The output should be: 236, 598, 745, 632 + 2, 453, 254, 365,546,764, 765 2,453,254, 602,145, 510, 39'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!