Program that prompts the user to input a decimal number


Problem 1
Using the Java Development Kit and jGrasp, develop a program in response to the following prompt:

Write a program that prompts the user to input a decimal number and ouputs the number rounded to the nearest integer.

Remember the rules around proper development style and form, including adding comments.

Problem 2
Jim develops 5 Java applications a year. Joe develops 10 Java applications a year. Jim gets paid $5000.00 per application, but Joe gets paid $10000.00 per application
1.) What type of equation would you create to determine how much either Joe or Jim makes separately? What equation is needed in Java (ignoring the $ symbol)? What data type is needed need for this equation?
2.) What type of equation would you create to determine the combined total of Joe and Jim's worth? What is the equation in Java? What would be an incorrect way of writing this equation (think parentheses)?

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Program that prompts the user to input a decimal number
Reference No:- TGS090956

Expected delivery within 24 Hours