Question: c++ could you explain the answer ? do not do number 30 28. Write a program itat asks the user for an integer mumber and

c++
could you explain the answer ?
do not do number 30
c++could you explain the answer ? do not do number 30 28.

28. Write a program itat asks the user for an integer mumber and peints a patiant. 4. Exangle i. Inpuat ii. Output Please meicr number. 5 Note that the middele now prints 5 "s as per atser input 29. Write a program that asks the user for a positive integer N (H Landle cases when the user peovides a negative number) and 4. If inpat number N is 0:0N. 0=9, prints but lowercase finglish word cortesponding to the mumber 8. If inpat number N>9, prints "Gireater than 9 You wosild seod to hard eode the woeds for each digit up to nime at Example.1 i. Inpea - Please enter mumber: 9 ii. Ounput b. Liample 2 i. Inpeal - Please celer number: 42 ii. Ourput - Number mroier ituan nine 30. Write a program that asks the user for a positive integer W (Handle cases when the easer provides a negative namber) and 4. If inped number N is 09, prints cut lowarcase English word cumesponding to each digat You werald need to hard code the woeds for each digit up to tine a. Example: i. Inpout - Please enter number: 9 . ia. Ousput b. Exarrple? 1. Inpeat - Please culter number: fie ii. Ourput - four nwo nero 31. Write a program which anks the user for an integer mamber (say N) and prints eat the sam of all numbers up to N using a loop. (1+2+3+4+5+6++N) A. Exangle i. Inpet: - Please nuter number: 42 ii. Output: - Sun of all munhers ap to 42;903

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 Databases Questions!