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:
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 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
