Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 2 - Advanced C# Features Viewing ( Marks: 1 0 0 ) Learning Units 1 to 3 At the end of this specific part,

Part 2- Advanced C# Features
Viewing
(Marks: 100)
Learning Units 1 to 3
At the end of this specific part, students should be able to:
Use a generic collection to solve a programming problem.
Use delegates to solve a programming problem.
You will continue working on the application created in Part 1. Implement the feedback provided by your lecturer on Part 1 before continuing with Part 2. Marks will be awarded for this (10%).
The application must still perform all the functions from Part 1, with the following features added:
1. The user shall be able to enter an unlimited number of recipes.
2.
3.
The user shall be able to enter a name for each recipe.
The software shall display a list of all the recipes to the user in alphabetical order by name.
4.
5.
The user can choose which recipe to display from the list.
For each ingredient, the user shall additionally be able to enter:
a.
b.
6.
The number of calories, and
The food group that the ingredient belongs to.
The software shall calculate and display the total calories of all the ingredients in a recipe.
The software shall notify the user when the total calories of a recipe exceed 300.
Read more about food groups here: https://sweetlife.org.za/what-are-the-different-food-groups:
a-simple-explanation/

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions