Assignment_21-Fall_-Smoothie_(1) (1).pdf - COP 3502C...

This preview shows page 1 - 3 out of 10 pages.

COP 3502CProgramming Assignment # 1Dynamic Memory AllocationRead all the pages before starting to write your codeOverviewThis assignment is intended to make you work with dynamic memory allocation, pointers, and arrays of pointers.Thedifficulty level is not actually very high, but it might take sometimes to do it depending on your understanding ofDynamic Memory Allocation - don't wait until the weekend it's due to start it!Your solution should follow a set of requirements to get credit.Please include the following commented lines in the beginning of your code to declare your authorship of the code:/* COP 3502C Assignment 1This program is written by: Your Full Name */Compliance with Rules:UCF Golden rules apply towards this assignment and submission. Assignment rulesmentioned in syllabus, are also applied in this submission. The TA and Instructor can call any students for explaining anypart of the code in order to better assess your authorship and for further clarification if needed.Caution!!!Sharing this assignment description (fully or partly) as well as your code (fully or partly)to anyone/anywhere is aviolation of the policy. I may report to office of student conduct and an investigation can easily trace the student whoshared/posted it. Also, getting a part of code from anywhere will be considered as cheating.Deadline:See the deadline in Mimir. The assignment will accept late submission up to 24 hours after the due date time with 10%penalty. After that the assignment submission will be locked.An assignment submitted by email will not be graded andsuch emails will not be replied according to the course policy.What to do if you need clarification on the problem?I will create a discussion thread in webcourses and I highly encourage you to ask your question in the discussion board.Maybe many students might have same question like you. Also, other students can reply and you might get your answerfaster.Also, you can write an email to the TAs and put the course teacher in the cc for clarification on the requirements.How to get help if you are stuck?According to the course policy, all the helps should be taken during office hours. Occasionally, we might reply in email.Problem Description: Making SmoothiesA smoothie is a blended drink concoction, with several ingredients. Each different type of smoothie has a differentratio of its ingredients. For example, the "StrawberryBreeze" has the following ratios of items:
2 units strawberry1 unit banana1 unit kiwi2 units yogurtIf a store manager sells 18 pounds of Strawberry Breeze smoothie a week, then his weekly order ought to have 6lbs of strawberries, 3 lbs of banana, 3 lbs of kiwi and 6 lbs of yogurt.Of course, there are other types of smoothies a store manager must sell, so to figure out her weekly order, she hasto go through how much of each smoothie she'll sell and each smoothie's recipe and put together thesecalculations.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 10 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A
Tags
Garbage collection, Strawberry Breeze

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture