menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
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
asked
Sep 5, 2023
205k
views
4
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
Computers and Technology
high-school
Gbdivers
asked
by
Gbdivers
3.4k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
4
votes
Answer:
What language are we expected to use to display our result?
Mark Giaconia
answered
Sep 10, 2023
by
Mark Giaconia
3.9k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
4.5m
questions
5.9m
answers
Other Questions
Assume you have created a mechanical arm that can hold a pen. The arm can perform the following tasks: • Lower the pen to a piece of paper. • Raise the pen from the paper. • Move the pen 1 inch along a
Drag each connector name to match the connector type shown.
In which part is data processing done?
What is the maximum throughput of a homogeneous pipeline in which four processors each handle one million instructions per second and processing a data item requires 50, 60, 40, and 30 instructions, respectively?
What problem does chlorofluorocarbon (CFC) create? a. it causes lead poisoning b.it causes great damage to the ozone layer c. it leaks into food as it cools the air and refrigerators d. it is responsible
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org