Find Jobs
Hire Freelancers

write a code in C language

$10-30 USD

Completed
Posted 6 months ago

$10-30 USD

Paid on delivery
1. Write a C program: a. Simulates the producer consumer problem at a cupcake bakery shop. i. The baker is the producer ii. The customer is the consumer that comes to buy the cupcake at the shop iii. Your program must be able to handle all possible combination of producer and consumer, i.e. one-to-one, one-to-many, many-to-one and many to many 1. There could be one or more bakers that make cupcakes at any one time 2. There should be at least one customer that comes to the store to buy the cupcakes iv. Once the baker bakes (produces) the cupcakes he will place them, one by one, in a big tray (array) of a certain maximum number (e.g. 30) 1. The tray is a one-dimensional array of struct of flavor and number. v. The customer will take the cupcakes from this tray (consume), two at a time vi. Each cupcake is identified by: 1. A tag, which indicates the flavor: There are four flavors - Chocolate, Orange, Vanilla or Strawberry 2. A number: is some random number between 0-99 (or 0-199) vii. The baker makes (produces) 100 cupcakes during weekdays viii. The baker makes (produces) double over the weekend ix. The bakery shop is closed as soon as all cupcakes are sold b. User has a choice of running the program i. Interactively ii. or Reading from a file. c. Inputs (are provided interactively or through the file): i. The number of bakers ii. The number of customers iii. Weekdays vs weekends iv. Maximum array size (dynamically allocated) d. produce the result in the output file e. Good programming practices must be reflected in the code, such as: i. Proper naming of variable ii. Use of comments iii. Use of indentation 2. Test your program with the test file that will be provided to you 3. Project report. a. Includes: i. Screen capture images of the output ii. Discussion on the results iii. Important part of your code with description iv. A table of group members and the tasks carried out by each
Project ID: 37481293

About the project

11 proposals
Remote project
Active 6 mos 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
Hello, there. My Name is John, and I am an expert of developing algorithm. I am very familiar with C|C++ language. I am very interested in your project. I am sure I can finish your project on time perfectly. I am looking forward to working with you. All the best.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
11 freelancers are bidding on average $22 USD for this job
User Avatar
Hi there yes I am expert in C and I can help you out for sure Kindly send me a message we'll discuss further Looking forward to hear you Thank you
$20 USD in 1 day
5.0 (210 reviews)
5.9
5.9
User Avatar
Hello! I can perfectly complete your C task, based on my strong C/C++ Programming skills in only 1 day. Please open the chat with me so that I can start working for you. Regards.
$30 USD in 1 day
5.0 (1 review)
1.6
1.6
User Avatar
Dear Client, my name is GLEN and I am a qualified C programmer and software architect with over 10 years of experience. I understand that you are looking for someone to write a code in C language that simulates the producer-consumer problem at a cupcake bakery shop. I believe that I am the perfect person for this project because of my extensive knowledge of programming languages such as Python, Java and C# as well as systems such as AWS, Azure and Heroku which can be used to run the program interactively or through a file. This makes it easier for users to test the program without needing access to a desktop computer. Additionally, my experience in web development including WordPress and eCommerce make me an excellent choice for this project as I can provide users with tools to manage their blog sites and online stores as well as create content such as articles and social media posts. Furthermore, I have also taken part in projects related to system administration such as setting up email accounts and calendars on behalf of clients. This makes me an ideal candidate for this project as it involves running a program on a closed system where all inputs must be provided interactively or through a file before producing the result in an output file.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello there Raneem Ahmad A., Good evening! I am professional mobile software engineer with skills including Software Architecture and C Programming. Please send a message to discuss more regarding this project. I await your immediate response
$10 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have read your project details. I am interested in your work. You can message me, your work related to my expertise and I am sure I can do it. I am a software engineer and have great experience in C language. You can discuss it with me, thanks. I am available right now
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Greetings Dear Client, Welcome to my profile, Home to Professional and Quality services with 100% customer satisfaction guarantee. I'm a Certified Developer & Experienced Expert in C. Dear Client, I take this opportunity to inform you that i have KEENLY gone through all your project requirements as given in your project description and I confirm to you that i can perfectly deliver as instructed. Being in possession of all CLEARLY STATED required project skills as this is my area of professional specialisation having completed all Certifications and developed adequate experience in the same area, I hereby humbly request you to consider my bid for Professional, Quality and Affordable services always. STRICT TIMELY DELIVERY & UNLIMITED REVISIONS. Kindly Message Me We Discuss More About The Project and seal the contract. Welcome and Thank-you.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! I am happy to bid on your project. I will perfectly develop your C code for simulating the producer consumer problem at a cupcake bakery shop, based on my strong C/C++ skills and experience in only 1 day. I look forward to the opportunity to work with you. Regards.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi client, My name is Waqas. I have more than 10 years of experience in programming especially using C/C++. After reading your requirements, I ensure you to complete your job with quality code. So I offer my services for the same. I am committed to meet the deadline with good quality code. Waiting for your positive reply. Regards.
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear client, I understand that you are looking for someone to write a code in C language to simulate the producer consumer problem at a cupcake bakery shop. Specifically, you require that program be able to handle all possible combination of producer and consumer. Moreover, the program should be able to run interactively or through a file and inputs should be provided either interactively or through the file. I believe that my skillset make me the perfect fit for this project. My background includes working with c programming and generating results in an output file. Furthermore, I have good knowledge on good programming practices such as proper naming of variables, use of comments and indentation. As part of the project report I would like to include screenshots of the output along with discussion on the results as well as part of my code so that you can understand exactly how I carried out each task mentioned in section 1 If you are interested in engaging me for this project please feel free to reach out to me directly or leave your contact details below so we can discuss further
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Develop a C program to simulate the interaction between bakers and customers in a cupcake store, allowing various combinations of production and consumption. The code will follow best practices, accept interactive or file input, and be tested with a provided test suite.
$20 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SAUDI ARABIA
Jeddah, Saudi Arabia
5.0
1
Payment method verified
Member since Dec 9, 2022

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.