Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Merhaba arkada lar , Save the codes of the questions below, the outputs on the screen after running them in a PowerPoint file, give your

Merhaba arkadalar,
Save the codes of the questions below, the outputs on the screen after running them in a PowerPoint file, give your name and last name to your project and upload them to the TEAMS system. Deadline: 14.06.2024. This project is not mandatory. It is optional.
QUESTIONS
1- A class has 20 students. Get the students' grades by user using array variable. After the grades are entered, write the code of the program that finds the class average, the highest and lowest grades in the class and displays it on the screen.
2- Create a list data type of colors. Initially set the list as 7 colors.
a) Print the elements of this list to the screen.
b) Print the 6th element of this list to the screen.
c) Add two new colors to this list.
d) Add a new color after the 5th element of this list.
e) Delete the 4th element from this array.
f) Look for the "red" element in the list.
3- Write a program that generates as many random numbers as the number entered from the keyboard and then displays the numbers between 1-99 and 1-9 separately.
4- The program provides the program design for a market, depending on the user's choice. Categories consist of Food, Cleaning and Fruits/Vegetables. Determine the stock quantity and price of 5 products for each category. Calculate the payment of the products to be purchased by the customer and the remaining stock quantities using methods. Use methods with and without parameters, with and without return values. You can design the program as you wish.
Example output:
Food (1)
Cleaning Material (2)
Fruit/Vegetable (3)
Payment (4)
Exit (5)
Use C# language please for all four questions
image text in transcribed

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: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions

Question

Identify the major provisions of the privacy rule in the HIPAA.

Answered: 1 week ago