Find Jobs
Hire Freelancers

Write some Software

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
You must write a program that contains a main function and one additional function (to generate random numbers and determine if the random number is equal to, below or above a given number). Your main function should prompt the user to enter a whole number between 0 and 100 not including 0 and 100 hundred. (You may assume the user enters a valid number or check it within main as practice). Your main should then call the function. After the function has completed, your main function should output how many of the generated numbers were equal to the entered value, how many of the generated numbers were less than the entered value, and how many of the generated numbers were greater than the entered value. Your function should use a loop to generate 100 random numbers between 0 and 100 including 0 and 100, then count how many of the generated numbers were equal to the entered value, how many were less than the entered value, and how many were greater than the entered value. Your function should send how many were equal to, less than, and greater than the entered value back to the function call in main. Do not use global variables and place your function after main.
Project ID: 11857148

About the project

11 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Happy to see you my previous work can be seen in my profile hopefully we will have chat with all the discussions and details
$20 USD in 1 day
5.0 (18 reviews)
3.5
3.5
11 freelancers are bidding on average $21 USD for this job
User Avatar
A proposal has not yet been provided
$35 USD in 1 day
5.0 (21 reviews)
5.3
5.3
User Avatar
Hello, I am expert in java/c/c++ and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments. Pm me for further details. Thank You!
$15 USD in 1 day
5.0 (47 reviews)
4.7
4.7
User Avatar
Hi I am an Engineering undergraduate with exceptional skill in mathematics and programming. I can write this software as it you need. Please message to discuss further on this Thanks Note-please check my profile for past projects and reviews.
$25 USD in 1 day
5.0 (22 reviews)
4.4
4.4
User Avatar
can do it in a hour ||can do it in a hour ||can do it in a hour ||can do it in a hour ||can do it in a hour ||can do it in a hour ||can do it in a hour ||can do it in a hour ||
$30 USD in 1 day
4.8 (30 reviews)
4.8
4.8
User Avatar
Hello friend , I have participated in programming competition (ACM-ICPC,codeforces,topcoder). My language of choice is C ++ it is easy for me.
$20 USD in 0 day
5.0 (3 reviews)
1.6
1.6
User Avatar
Hi! I'm an experienced C++ programmer and I can handle your task less than an hour. And this will be my first job here. Thanks
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
hi wasif here i have professional experience in c#.net and i can develop your project as per your requirement. Looking forward for your reply Thanks!
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a regular problem solver on uva, leetcode, spoj and hackerrank (Motly Hackerrank and uva then leetcode). I guarantee to deliver the program within few hours(wtihin 24 hrs or less if you want).
$17 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have best skill regarding your task I will do it this task is simple for me because i have long time experience with professional level and i m interested contact me if you wiling. thanks
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
State College, United States
4.7
4
Payment method verified
Member since Oct 21, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.