Write a program using a function and a series of if…else statements. The user sh
ID: 3618816 • Letter: W
Question
- Write a program using a function and a series ofif…else statements. The user should be prompted toenter a number in main. The function is called and thenumber entered is passed to the function. This function parameterwill then be used in a series of if…else statementsto discover and print out the number word within the function (forexample, 1=one, 2=two, 3=three, etc.).
You entered the number one.
You may choose to limit the number entered by the user to aparticular range. Be sure to prompt the user with this range, soyou can deal with correct and incorrect numbers entered. And help answering this C== programming promblem?
- Write a program that reads data entered at run time consistingof positive integers and averages them. Assume the data entereddoes not get a preset number of data items. The last number of thedata set should be a 999. Make sure to include appropriateinput and output statements.
You entered the number one. And help answering this C== programming promblem?
- Write a program that reads data entered at run time consistingof positive integers and averages them. Assume the data entereddoes not get a preset number of data items. The last number of thedata set should be a 999. Make sure to include appropriateinput and output statements.
Explanation / Answer
please rate - thanks CRAMSTER rule 1 question per post, I did the 2nd question #include using namespace std; int main() {int sum=0,i=0,num; coutnum; while(num!=-999) {while(numRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.