Calculates the square root of each number

Assignment Help JAVA Programming
Reference no: EM13940465

1. Write a Java program that reads in 10 integers and displays the biggest and second biggest number from them.
For instance, if the input is 2 4 1 2 5 8 9 1 3 2, the output would show 9 and 8.

You can choose to use the console for input and output, or to use dialog boxes.

Test data in this case is simply a list of inputs and corresponding outputs like the example above.

2. Write a C# program that calculates the square root of each number in the multiplication table for values from 1*1 up to 10*10. Be sure to provide labels for your rows and columns. You should truncate your numbers to round down to the nearest integer for display purposes. Place an asterisk each time the square root is greater than or equal to 6.

A possible partial output for your program is shown below:

1 2 3 4 5 6 7 8 9 10
1 1 1 1 2 2 2 2 2 3 3
2 ...

Reference no: EM13940465

Questions Cloud

Current state of water accounting in australia : Your task is to research the current state of water accounting in Australia. At a minimum you should be able to report on: Who currently has oversight responsibility and authority to direct water accounting in Australia?
Write an essay on lemonade stand activity : Lemonade Stand Activity. As you have read about in our lecture, we have used a lemonade stand to help us understand some basic concepts of business. As we pointed out, a lemonade stand has simple business; yet it can help us understand almost every f..
Three divisions -marketing, production : Charles Corporation has three divisions -marketing, production, and personnel. There is a manager in charge of each division. The flexible budgets for each division follow.
Can you distinguish between bad stocks and bad companies : Can you distinguish between bad stocks and bad companies? Does the fact that the industry is declining mean that the stock is a bad buy?
Calculates the square root of each number : Write a Java program that reads in 10 integers and displays the biggest and second biggest number from them.
Development of theoretical ethical approaches : Explain the background and development of theoretical ethical approaches 1.1. Explain the background and development of theoretical ethical approaches
How is blood alcohol measured and collected : How is blood alcohol measured and collected? How does the alcohol anatomically and physically get into the lungs to be measured by the police officer with a Breathalyzer?
Manufacture the spray containers : The company has contacted a number of packaging suppliers to determine whether it is better to buy or manufacture the spray containers. The lowest quote for the containers is $1.87 per 30 units.
What crime did able and boyd commit : Charlene's car was running and had the doors open. Able and Boyd empty the coin dish in Charlenes car. Able and Boyd run a red light at high speed and cause a crash that kills D. Able and Boyd are arrested. Charlene is rushed to the hospital and d..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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