Post a New Question

java

posted by .

Write a java application that finds the smallest of several integers. Prompt the user for the number of integers that will be input, then prompt the user for that number of integers. Evaluate the integers to determine the smallest value. Run the program to test for 3 numbers -- 50, 10, 100 Run the program a second time to test for 5 input number; -- 7, -2, 0, 15, 5 Submit your .java, .class and results. The results may be copied and pasted at the bottom of the .java file OR placed in a word document.

  • java -

    {
    public static void main(String[] args)

    {


    final double inches2CM = 2.54;
    double centimetre`;


    System.out.print("Enter the value in inche ")
    Value in inches = EasyIn.getInt()
    System.out.print("

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math

    How can I figure this out? Five integers have an average of 69. the median is 83. the mode is 85. the range of the 5 integers is 70. what is the second smallest of the 5 integers?
  2. smallest of 3 integers

    The sum of the reciprocals of three consecutive positive integers is equal to 47 divided by the product of the integers. What is the smallest of the three integers?
  3. programming MIPS ask

    Write a MIPS assembly language program that will cover the following steps: Prompt the user to enter a first integer named i1 Prompt the user to enter a second integer named i2 Compute i1+i2-200 Print the value of the result Repeat …
  4. math

    the sum of the reciprocals of 3 consecutive positive integers is 47 divided by the product of the integers. what is the smallest of the 3 integers
  5. java.please help

    Write a Java program that prompts the user for a string. If the string entered by the user does not start with Hello and does not end with a digit, print incorrect and re-prompt the user. Otherwise, print Thank you.
  6. java programming

    the learner is asked to write a program using java with user input that caculate and displays, the number of months it will take the user to save an amount of money. the user must enter the
  7. Integers

    The sum of 6 consecutive integers is 171. Find the smallest of the integers
  8. Ic

    Write an application that prompts the user for two integers and then prompts the user to enter an option as follows: 1 to add the two integers, 2 to subtract the second integer from the first, 3 to multiply the integers, and 4 to divide …
  9. math

    What is the smallest of three consecutive integers if the sum of the smaller two integers is equal to 177 less than four times the largest?
  10. math

    What is the smallest of three consecutive integers if the sum of the smaller two integers is equal to 177 less than four times the largest?

More Similar Questions

Post a New Question