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

  When potential new suppliers compete for contracts

The company's newly hired VP of the IT is conducting this project because she does not have a security specialist on her staff and has learned that the company does not have the comprehensive security strategy. In fact, she suspects lack of even b..

  Retailing and software

Discuss how retailing is improving the efforts along with their supply chain through the evolution of software, involving the software integration that supports these supply chain activities.

  Computing the total tax

In following example, second line of the table signifies that tax due on a salary of $2,000.00 is $225.00 plus 16% of excess salary over $1,500.00 (that is, 16% of $500.00). Compute the total tax.

  Guassian function and digital transmission technique

Prove the following properties of Gaussian function:Explain four benefit and one de-merits of utilizing the digital (rather than the analog) techniques for transmission of the voice-telephone signals.

  The difference between a worm and a trojan horse

What do you tell him is the difference between a worm and a Trojan horse. List at least six reasons you can give John for preventing viruses and other malware.

  Examine the behavior of airfoil

Write HW assignment written in Matlab airfoils have different C mc/4

  Determine technology which has changed cafe,coffee shop

Determine technology which has changed cafe,coffee shop? Think things such as marketing, food preparation, inventory ordering or re-ordering, customer tracking, and more.

  Write a java program that prints all real solutions

make a class QuadraticEquation whose constructor receives the coefficients a, b, c of the quadratic equation. Supply methods getSolution1 and getSolution2 that get the solutions, using the quadratic formula, or 0 if no solution exists. The getSolu..

  What can be done to minimize the errors

Where are the majority of defects found in a final program introduced? What can be completed to minimize these errors.

  List the top advantages of migrating to ipv6

List the top advantages of migrating to IPv6

  Designing an inventory management system

Xhemrock is a brake pad manufacturing company. This company utilizes the raw materials, like carbon powder, ash, iron, and resin. It wishes to design an inventory management system which will have the following attributes: The system must store th..

  Explain basic principles of the socio-technical approach

Cite real-world experiences to draw direct connections to the theories. create a note of the social circumstances that relate to the concepts presented by the theories.

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