294,945 views
3 votes
3 votes
Pls help with this I'm confused

-Generate and display 5 random integers from 0 to 100



- Find and display the maximum number of the random integers



- Find and display the minimum number of the random integers



-Perform a decimal divide of the largest random number divided by the smallest random number and display the result.



-Perform an integer divide of the largest random number divided by the smallest random number and display the result.



-Perform a modular divide of the largest random number divided by the smallest random number and display the result.



-Find and display the square root of the largest magnitude random number .



-Take the smallest number to the power of the biggest number and display the result.


The teacher said it should look like this as an example

First random number is: 84

Second random number is: 22

Third random number is: 45

Fourth random number is: 53

Fifth random number is: 33



Maximum value of the random integers is 84

Minimum value of the random integers is 22



Largest number dividided by smallest number in decimal is: 3.81818181818



Largest number divided by smallest number integer divide is 3



Largest number divided by smallest number modular divide is 18



Square root of the largest number is 9.16515138991



The value of the smallest number to the power of the largest num

User Amcnabb
by
2.3k points

1 Answer

23 votes
23 votes

Answer:

What language are we expected to use to display our result?

User Abdullah Bahattab
by
2.7k points