Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Read a 3 digit number from one row, then a 1 digit number from the second row. Subtract the 1 digit number from the 3
Read a 3 digit number from one row, then a 1 digit number from the second row. Subtract the 1 digit number from the 3 digit number, and display the result. Make sure you print your name first, then your output.
I need help!
Assignment Read a 3 digit number from one row, then a 1 digit number from the second row. Subtract the 1 digit number from the 3 digit number, and display the result. Make sure you print your name first, then your output. Sample Input 123 Output Loay Alnaji Sample Input 100 1 Output Loay Alnaji 099 (or you can display 99 without the 0 , either one is fine by me) Sample Input 001 1 Output Loay Alnaji (or you can display 000, either one is fine by me) What to submit Copy/paste your code into a word document and upload it here. Make sure you clearly comment your codeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started