Question: java Needs Gradin Question 3 Write a program that reads from the user a double N and prints decimal number if it is a

java java Needs Gradin Question 3 Write a program that reads from the

Needs Gradin Question 3 Write a program that reads from the user a double N and prints " decimal number" if it is a decimal number (decimal for example 2.5) or it prints "whole number" if the number was a whole number (whole numbers are for example 1.2. 3). Do not forget your imports Monday, March 8, 2021 3:33:28 PM GST OK

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!