Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Find Replace Select all Editing Java2 Q1 write a java progzam to process 3 type int values, with DOS console for I/o, and process 3

image text in transcribed
Find Replace Select all Editing Java2 Q1 write a java progzam to process 3 type int values, with DOS console for I/o, and process 3 type double values with GUI syyle for I/o. 111 Section 1: Use DOS console I/o, accept 3 type int values, sum it up, find smallest&largest value, get average, o/P all values in DOS console style, loop back for next 3 integera, do same process, No atring. it up, find amallest largest value, get average, double values, do the same process until user answers no more with the choice of Yes or 12) Section 2: Use GUI 1/0, accept 3 type double values, sam o/P all values in GUI style, loop back for next 3 type until uae r answe r3 no more with buttons of Yesr No. 131 A template is written below for you to begin with if you want. To save eoding tine, you could design Section 1 firat change only the I/o statement to GUI style, compile& test it. get it run perfetly, then copy the linea to Section 2, 141 Design and run your program in Dos t , first, then copy to NetBeans test run again, or vice versa publie class J2x JohnT_Q21 Taylor //for John public atatic void main (String z) t boolean moze true while (more) / /Bection 1s Do 3 type int integer values I int n1, n2, n3 , 5mallest, largeat double a //3 int sun, average while more //dection 2: Do 3 type double decimal values

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

Students also viewed these Databases questions

Question

What is the environment we are trying to create?

Answered: 1 week ago

Question

How can we visually describe our goals?

Answered: 1 week ago