Write a C# program that calculates the square root of each number in the multiplication table.
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:
This answer includes:
- Plain text
- Cited sources when necessary
- Attached file(s)
Active since 2009