menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
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
Amcnabb
asked
Oct 22, 2023
294,946
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
Computers and Technology
high-school
Amcnabb
asked
Oct 22, 2023
by
Amcnabb
2.3k
points
answer
comment
share this
share
0 Comments
Your comment on this question:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Your answer
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
1
Answer
23
votes
23
votes
Answer:
What language are we expected to use to display our result?
Abdullah Bahattab
answered
Oct 26, 2023
by
Abdullah Bahattab
2.7k
points
ask related question
comment
share this
0 Comments
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
1.6m
questions
2.0m
answers
Other Questions
Price of Tether coin right now? Don't answer if u don't know.
How many pokemon games have you all played i've played 14
This device enables connectivity between two lans or a lan and a larger network.
Genres are useful for many reaseons. What are some explanations you can think of for how genres can be useful to players, game designers, and game publishers? this if for a video game design class worth
There are 2048bytes in4megabytes true or false
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org