Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use eclipse in java pls Problem 1: ScannerInput Write a class called ScannerInput with a main method. Prompt the user to enter any integer on

image text in transcribed

use eclipse in java pls

Problem 1: ScannerInput Write a class called ScannerInput with a main method. Prompt the user to enter any integer on a single line, then prompt the user to enter any second integer on the next line. Make sure to tell the user to enter an integer. The program will find the first number divided by the second number and display the result. Verify that your answer is correct. User input is green, output displayed is black. Your display needs to look the same as the Sample (user input may differ) Sample Run Please enter an integer: 4 Please enter another integer: 2 4/2 is 2 Another Sample Run Please enter an integer: 9 Please enter another integer: 4 9/4 is 2.25 One More Sample Run Please enter an integer: 28 Please enter another integer: 5 28/5 is 5.6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions