Question: c++ 28. Write a program that asks the user for an integer number arw phints a patfern. A. Example i. Inpeat - Please ender number:

c++
c++ 28. Write a program that asks the user for an integer

28. Write a program that asks the user for an integer number arw phints a patfern. A. Example i. Inpeat - Please ender number: 3 ii. Output 6. Mose tlat the widdle now prinits 5 *s as per user inpue 29. Write a program that akks the user for a positive indeger N (Hlandle caves when the aser provides a megative number) and A. If input mumber N is 0cosN9, peiens "Cireater than 9" Yoa would need to hard code the words for each diggit up to ninc. a. Example I i. Inpat - Please mier mumber: 9 ii Ouppat b. Example 2 i. Inpent - Pleave enler numbers: 42 ii. Oulput - Mimber greater than nine 30. Write a program that asks the user for a positive integer N (Handle cases when the usser provides a negative number) and A. If input number N is 09, prints out lowercase Enghsh word corresponding to cach dizit Yoa would need to hard code the words for each digit up to nine a. Example 1 i. Inpeit - Piease watr murber: 9 ii. Outpur b. Fxample 2 - mane 1. Inpua - Please ener mamber. 420 ii. Oarput - folar hive acro 31. Write a peogram whicb asks the user for an integer number (say N) and prints out the sum of all mambers up to N using a loop. (t+2+3+4+5+6++N) A. Example i. Inprut: - Pleage cnler mamber: 42 ii. Cuinut: - Sum of all mambers up to 4 2. 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!