Write a program that continuously prompts the user

Assignment Help Computer Engineering
Reference no: EM132209626

Write a program that continuously prompts the user to enter an integer, or any character to quit.

(Example: "Please enter an integer, press 'Q' to quit")

The program will loop continuously, until anything other than an integer is entered by the user.

The program should determine the maximum and minimum values entered by the user. After the user enters something other than an integer, display the minimum and maximum values to the user.

For part marks (5), assume that the user enter exactly 5 numbers.

import java .util. Scanner; public class question13

{

public static void main (String [] args)

{

Scanner keyb = new Scanner (System. in);

Reference no: EM132209626

Questions Cloud

How you would be able to apply the model : Research the wonderful scholarly resources available to you in the Chamberlain Library. Select a Transcultural Nursing Model/Theory.
Write a program to copy the vector a in two new vectors : Write a program to copy the vector A in two new vectors, copying from A the values even to the vector E, and the values odd into the vector O.
Compute the tax and lip on a restaurant bill : Your project will be evaluated bated on the following criteria. Project works according to specifications. Output in accurate Logic is efficient.
What information would you need to gather : Every organization wants their systems to function properly and "talk" to each other. One of the biggest issues companies have is that they have information.
Write a program that continuously prompts the user : Write a program that continuously prompts the user to enter an integer, or any character to quit.
Calculate roots in the interval of single quadratic equation : Write a program that calculates roots in the interval of a single quadratic equation.
How your methodology is in line with your project questions : Describe and provide rationale for which design you plan to use in your DPI project. Be sure to describe how your methodology is in line with your project.
What are the documenting guidelines : What does it means to document accurately and appropriately? What are the documenting guidelines? When is it appropriate to use abbreviations?
Compute the total cost for the number of cell phones : Write a program that computes the total cost for the number of cell phones bought at a store.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain how the digitization of music has created

Why do you think different digital audio formats exist? Would you support one standard file format for all music in the future? Why or why not.

  Interviewing for chief information officer

XYZ is interviewing candidates for position of Chief Information Officer (CIO). They are inquiring the candidates to explain briefly how they could satisfy their requirements as described above. State how would a successful candidate respond to th..

  What is homogeneous coordinate system

What is homogeneous coordinate system

  Analyze the technical merits and demerits of using a

a hypervisor is computer hardware platform virtualization software that allows multiple different operating systems os

  How is computer memory similar to human memory

How is computer hardware, created by human brains, limited by its' developers? How is computer memory similar to human memory?

  Electricity and magnieism state and explain ampere law

state and explain ampere law ? ltbrgtstate and explain biot savert law ? ltbrgtstate and explain ohm3939s law ?

  How many computers will be attached to the network

E Norm, Inc. has two sites in Pittsburgh that are four miles apart. How many computers will be attached to the network?

  Write a program that directs a cashier how to give change

Implement a program that directs a cashier how to give change. The program has two inputs: the amount due and the amount received from the customer.

  While initially the focus was on implementation of the

you have been hired by a large company with branch offices around the country to assist with rollout of a new

  Design and develop a list of factors

choose an organization for analysis and develop a list of factors (minimum 5) associated with high Performance. For each factor you identify, develop a rating scale from 1 to 5 (at least one of the factors must have a rating of 1 or 2). A 1 means ..

  Program to display a bouncing blue ball inside a jpanel

Write down a program to display a bouncing blue ball inside a JPanel. The ball should begin when the mouse is clicked inside the window. The ball will continue until the window is closed.

  Building a simple fss using a simple command line interface

You are charged with building a simple file sharing system (FSS) using a simple command line interface. The FSS consists of two types of entities.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd