How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
mySQL Lead Tracking Database
By bkleinhe on Sep 23
Max Bid: $300


System Snapshot Utility (repost)
By emetrix on Sep 23
Max Bid: $75


college project
By mmm12 on Sep 23
Max Bid: $350


Sports/College Basketball Betting Site Layout
By DWDYEM on Sep 23
Max Bid: $50


polynomial using linked list
By ray_05 on Sep 23
Max Bid: $20


Bobblehead MySQL database
By bobblebum on Sep 23
Max Bid: $150


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(198 open)
   Access 
(69 open)
   MySQL 
(128 open)
   Oracle 
(12 open)
   SQL Server 
(79 open)
   Other DB 
(25 open)
Documentation / Tech Writing 
(21 open)
   Language (Human) Translations 
(10 open)
Data Entry 
(44 open)
Game Development 
(22 open)
Graphics / Art / Music 
(58 open)
   Graphics 
(58 open)
     Adobe AfterEffects 
(14 open)
     Adobe Photoshop 
(36 open)
     Adobe Premiere 
(11 open)
     3d Animation 
(21 open)
   Art (Misc.) 
(19 open)
   Music 
(7 open)
   Photography 
(3 open)
   3d Modeling 
(12 open)
Language Specific 
(125 open)
   Assembly / Machine language 
(16 open)
   ASP 
(74 open)
   ASP .NET 
(74 open)
   C# 
(68 open)
   C++ / C 
(174 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(6 open)
   Cold Fusion 
(14 open)
   Delphi 
(61 open)
   Java 
(93 open)
   JSP 
(15 open)
   Perl 
(56 open)
   Python 
(6 open)
   PHP 
(131 open)
   XML/XSL 
(34 open)
   Visual Basic 
(176 open)
   Visual Basic .Net 
(111 open)
   Other 
(75 open)
Misc 
(35 open)
   Middleware 
(3 open)
   CAD 
(4 open)
MultiMedia 
(29 open)
   Video Editing 
(6 open)
Network 
(40 open)
   Network Design 
(7 open)
   Network Implementation 
(7 open)
Platforms 
(76 open)
   Windows 
(203 open)
     MS Exchange 
(12 open)
     MS Office 
(23 open)
     Other 
(19 open)
   Darwin 
(3 open)
   Embedded Systems 
(14 open)
   Hand Held/PDA Programming 
(14 open)
   Internet Browser 
(58 open)
   Linux 
(78 open)
   Lotus Notes / Domino 
(2 open)
   UNIX 
(43 open)
Requirements 
(14 open)
Security 
(34 open)
Testing / Quality Assurance 
(15 open)
Web 
(167 open)
   Page Design 
(93 open)
   Flash 
(51 open)
   Marketing 
(14 open)
     Search Engine Optimization 
(8 open)
     Marketing (Other) 
(12 open)
   Web Services 
(91 open)
   Web (Other) 
(102 open)
Training 
(9 open)
   Computer Based 
(14 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

C Homework Project Not C++,
Bid Request Id: 17451
Bookmark in my 'To Do' list
Posted by: COLLEGE-STUDENT (1 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 16.67%
Buyer Security Verifications: Good
Approved on: May 28, 2002
4:16:27 AM EDT
Bidding Closes: Jun 2, 2002
4:21:09 AM EDT
Viewed (by coders): 302 times
Deadline: 6/4/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C, Other, C#
Enter chat room for this bid request
(0 active users at Sep 23, 2003 3:11:54 PM EDT)

Description:
1. I need all 2 problems solved in the next 24 hours.
2. I need the program to be written in C and NOT C++.
3. It has to be well commented.
4. I need it by 9:00am United States CT.
5. It needs to be compiled in Microsoft Visaul C++ 6.0.
6. The code file should be .c

Deliverables:
Problem 3_1
Due May 29, 2002

Slot Machine

Write a program that simulates a slot machine. A slot machine consists of three slots, which each contain a rotating wheel. On the wheels are symbols of fruits: cherry, banana, pear orange. A handle is activated to make the wheels spin. When the wheels stop, the player wins if all three slots show the same fruit.

Declare three arrays in all, each one represents a single slot.
· Wheel one contains the following list of fruits: cherry, cherry, banana, pear, pear, pear, pear, orange.
· Wheel two contains the following list of fruits: cherry, banana, banana, banana, pear, orange, orange.
· Wheel three contains the following list of fruits: cherry, banana, pear, pear, orange, orange.
Each array will contain a code for the fruits: the first letter of the name of the fruit. The fruit will be randomly selected by having rand( ) generate an index into each array.

Write the program to allow a user to play as many games as he wishes. When he finishes give a total of the games he played, and the total he won. Write at least two functions other than main. Decide for yourself what those functions should be.

Problem 3_2
The Birthday Problem

Given a random group of N people, how likely is it that two people have the same birthday? To answer this question, write a program that creates an array of N integers, randomly assigns to each position in the array one of the integers from 1 through 365, and checks to see if any of the subscripted variables have the same value. (Make the simplifying assumption that no birthday occurs on February 29th.) Now expand the program to repeat the process 1000 times at that value of N, and determine the percentage of the time that there is a single match.

Running the simulation, you want to count the number of times out of the 1000 times where a match was found. Do not find the total number of matches in any group of people, because you are only answering the question of how likely it is to find at least two people with the same birthday. If a match is found in any trial, the search can be halted, and the next trial executed.

Try to answer the question how many people are needed in the group to achieve a 50% probability that at least two people will have the same birthday. So allow the user to determine the value of N, and allow multiple runs of the program for different values of N. Include in a comment the value of N you found to be the correct one.

The numbers from 1 to 365 should be generated by calling the functions srand(time(NULL) ) once at the beginning of the program and rand( ) for each number from 1 to 365. The main activity of the program will be searching the array for a match. There is a theoretical answer for the 50% number that you might find in a probability book.

You can&'t declare an array in C with a variable. There is a way to dynamically allocate an array at run time, and we will learn it later. So you must declare an array large enough to handle any N input by the user. Just use the portion of the larger array needed. Remember you are trying to find the N that gives an answer close to 50 % of the time.

Again use at least two functions other than main.


Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Complete copyrights to all work purchased.


Platform:
1. I need all 2 problems solved in the next 24 hours.
2. I need the program to be written in C and NOT C++.
3. It has to be well commented.
4. I need it by 9:00am United States CT.
5. It needs to be compiled in Microsoft Visaul C++ 6.0.
6. The code file should be .c

Must be 100% finished and received by buyer on:
Jun 4, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
I need the program in 24 hours.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Saquib
(35 ratings)
in Ypsilanti, Michigan
United States
Bid id: 190,497
 
$20 (USD) May 28, 2002
9:45:46 AM EDT
 9.97
(Excellent)
   
I can have the code ready for you by tonight. It will be in C running on Visual C++ with full comments.
Saquib
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Securenext
Rated a 9.97 on 124 jobs 
Buddies
Rated a 9.85 on 94 jobs 
Codman
Rated a 9.97 on 158 jobs 
hernest
Rated a 10 on 122 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
D-N-S
Rated a 9.93 on 39 jobs 
markesh
Rated a 10 on 23 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 87 jobs 
GribFritz
Rated a 9.89 on 148 jobs 
PSergei
Rated a 9.77 on 106 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.