Question: use visual basic language Assignment 1: Write the code to do the following: 1. The user will enter a number. 2. The code should then

 use visual basic language Assignment 1: Write the code to do

use visual basic language

Assignment 1: Write the code to do the following: 1. The user will enter a number. 2. The code should then decompose (or calculate) and print how many 50s, 10s and Is there are in the number. For example, the user enters 100. The number 100 has only two 50 (50+50 = 100). Then your code should print 2 in the TextBox under 50, print 0 in the TextBox under 10 and print 0 in the TextBox under 1. Another example, the user enters 62. The number 50 has one 50, one 10 and two 1 (50+10+1+1 = 62). Then your code should print 1 in the TextBox under 50, print 1 in the TextBox under 10 and print 2 in the TextBox under 1. Another example, the user enters 45. The number 45 has no 50, has four 10 and five 1 (0+10+10+10+10+5 = 45). Then your code should print 0 in the TextBox under 50, print 4 in the TextBox under 10 and print 5 in the TextBox under 1. Hints: 1. You can use While statement. 2. Divide the problem into multiple small problems (input, calculate 50, calculate 10...etc) and solve each one alone. Do not try to solve everything together at once! 3. Try to solve it on paper, analyze and design your solution, and then start coding. 4. Submit the code and a screenshot of your program in one file as pdf or docx file on Blackboard. Form 1 Amount 198 Decompose 10 50 3 4 8

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!