Skip to content

shahimvedaei/RandomNumberGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

ModifiedRandomNumberGenerator

About this code: This program generates N random numbers which are between min-max values and the total average is avg Note: all numbers with 2 Decimal precision

Inputs:

avg: What is the average for the numbers

min: What is the minimum number

max: What is the maximum number

N: How many numbers do you want to generate

Outputs:

average: The computed average for the generated number

  • Because the decimal precision sets to 2, there is a small variation from input avg

arr: This array contained the values of the random number.


Author: Shahim Vedaei

Last modification: Dec 19 2019

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages