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