[SOLVED] Write a program that prompts the user to input a decimal number....

22.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)

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 outputs the number rounded to the nearest integer.

Remember the rules around proper development style and form, including adding comments. A software developer should always add comments to their code so other developers (or in this case the instructor) understand what the intent of the program is.

Submit your compiled Java code for this assignment, compress the .java file into a single .zip file.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.