Question: Please help! Answer doing all parts. Chapter 3 Input/output 183 Page Assignments 1 calculating Interest Using Boxes: Your goal is to ask the user 3
Chapter 3 Input/output 183 Page Assignments 1 calculating Interest Using Boxes: Your goal is to ask the user 3 different questions with 3 different dialog boxes concerning borrowed, rate, dollars interest and number of years borrowed. The computer should then calculate simple and display all 4 pieces of information in sentence form on a dialog box Your program should have the following: Make the name of the project Have a dialog box appear on screen that requests the user to type in amount of dollars borrowed. Place the response that a user types in into a String variable. Convert that using the method in Double class and place this double into a double variable named dollars. How many dollars do you wish to borrow? ok cancel Have a dialog box appear on screen that requests the interest rate from user. Place the response that a user types in into a new String variable. Convert that string using the parse Double method in Double class and place this double into a double variable named rate. What is the interest rate? 5.85 Cancel Have a dialog box appear on screen that requests the number of years of the loan from user. Place the response that a user types in into a new String variable. Convert that string using the parselnt method in the Integer class and place the result into a variable named years
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
