Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Visual Basic ( version 2017) program to compute the total amount of change when given the number of pennies, nickels, dimes, and quarters.
Write a Visual Basic ( version 2017) program to compute the total amount of change when given the number of pennies, nickels, dimes, and quarters. Specifically, A. Display "Your Name" B. Display "Exam_1 Problem_1" C. Display "This program computes the total amount of change when given the number of pennies, nickels, dimes, and quarters" D. Flag Prompt the User "Do you want to run the program? Y -Yes, N - No" a. If Flag "Y", Then i. P Prompt the User to "Enter the number of pennies" ii. N Prompt the User to "Enter the num ber of nickels" D Prompt the User to "Enter the number of dimes" . Q Prompt the User to "Enter the number of quarters" v. Total 0.01* P + 0.05*N 0.1*D 0.25 Q vi. Display Total is " & Total b. Else i. Envoronment Exit(0) E. Loop to D
Step 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