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: | 398 Weeks Ago, 4 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Given an integer number, find the sum of all the numbers from 1 to this number.Example: If the number given is 5, the program should display 1+2+3+4+5=15If the generated number is 777 and the number given by the user is 11, the program should display something like the following: The number generated by the computer is 777 Please give me a number to test if it is a factor of this number: 11 Sorry, 777 is not a multiple of 11.Write a program that receives a series of numbers from the user and
allows the user to press the enter key to indicate that he or she is finished
providing inputs. After the user presses the enter key, the program
should print the sum of the numbers and their average.
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