The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 399 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Write a complete program that calculates and prints the product and sum of three integers.
The program should do the following:
Accept 3 integers from the command line from the user.
The input should accept one integer at a time, so an example run of the program should look like:
Enter first integer: 10
Enter second integer: 20
Enter third integer: 30
3. Compute the product and sum of the three integers.
4. Print those outputs back to the command line in the following format:
Integer One is: a
Integer Two is: b
Integer three is: c
The product is: d
The sum is: e
5. a, b and c are the numbers input into the command line. d, and e are the results of the mathematical operation on the input numbers.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll