Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java write a class called numbermanipulator ask for two numbers between 1 and 20 and make sure they fall in this range the write a

Java write a class called numbermanipulator

ask for two numbers between 1 and 20 and make sure they fall in this range

the write a function in numbermanipulator have it take the two numbers input takes the two number and returns there sum then divide it by 5 and then divide it by the square root of there sum then output the result

below the result

have 4 answers similar to multiple choice

A) They were subtracted

b) they were multiplied

c)they were divided

d) they were added then divide by 5 and then divide it by the square root of there sum

ask them for which is correct and give them 2 tries reoutput the options using the function after each wrong answer

if they pick wrong more then twice have it display

you're wrong

if they get it right have it pick one of the following randomly

Perfect answer(should only output on the first guess)

thats correct

you did it

use an array list for the last part

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

Step: 3

blur-text-image

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

What information does this audience need?

Answered: 1 week ago

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago