Write down a java program that reads in 10 integers

Assignment Help Computer Engineering
Reference no: EM1329570

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: EM1329570

Questions Cloud

Explain kodak an expert review : Explain Kodak An Expert Review based on the following criteria Consistency and Accessibility
What is your definition of supply chain management : Supply Chain Management - Show What is your definition of Supply Chain Management?
Explain what should firm replace its old knitting machine : Explain what should the firm replace its old knitting machine, and if so, which new machine should it use.
Advantages in a supply chain : Do you think that research and development that reduces the time to make a product can have big advantages in a supply chain?
Write down a java program that reads in 10 integers : Write down 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.
Write an essay about a business : Write an essay about a business that you see has an opportunity to reach a business or an organization as a customer. You can either use a real world business or create a business that you want to use.
Illustrate percent have prices increased over the past : Illustrate percent have prices increased over the past thirty years. What average annual inflation rate would have resulted in this answer.
Write the program in java : Write the program in Java (with a graphical user interface) so that it would allow the user to select which way they want to calculate a mortgage: by input of the amount of the mortgage.
What is the importance of using concrete : What is the importance of using concrete, physical, and actionable terms when helping employees understand goals?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Identify connectivity of each relationship

Identify connectivity of each relationship

  Computer forensics investigation

As a new computer forensics investigator and as a matter of the forensics policy and procedure, you will require to understand the procedures for processing incident scene for the digital and the logical evidence.

  Why server side computing has been a more affordable

The Cloud, that is synonymous with the internet, became a common phrase which infers that everybody can keep files and records in a trusted site. So what is the difference between uploading a file to a file server and uploading a file to a cloud.

  Explain the concept of scalability to the team

The project leader wants you to explain the concept of scalability to team. How would you do that? Several managers on the team have heard of TCO but are not quite sure what it is. How would you explain it to them.

  Designing the erd

Design an ERD consisting of the Order and Customer entity types connected by 1-M relationship from the Customer to Order.

  Cbc-mode encryption

Let a variant of CBC-mode encryption in which the sender simply increments the IV by 1 each time a message is encrypted in place of choosing the IV at random each time.

  Recoginizing the error in given code

Identify the problem in the above code, If ( toupper( response[ 0 ] ) == 'Y' )

  Design a class street that includes a number

Design a class Street that includes a number

  Determining the smallest values in dictionary

Explain an efficient method for determining the k smallest values in the dictionary which are greater than low. Your method must take much less than O (n) time whenever k is much less than n. Analyze the time for your method.

  What are some of the changes to technology

How has this technology impacted the development of new software? Even if the technology change is hardware related, software development can be impacted.

  Write a recursive implementation of euclids algorithm

Write a recursive implementation of Euclids algorithm

  Multiplexer and decoder

A bus organized the CPU has 32 registers with 16 bits in each, an ALU and a destination decoder. Specify how many multiplexers are there within the bus, and specify the size of each multiplexer?

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