Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTIONS 1 - A class has 2 0 students. Get the students' grades by user using array variable. After the grades are entered, write the
QUESTIONS
A class has 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.
Create a list data type of colors. Initially set the list as colors.
a Print the elements of this list to the screen.
b Print the th element of this list to the screen.
c Add two new colors to this list.
d Add a new color after the th element of this list.
e Delete the th element from this array.
f Look for the "red" element in the list.
Write a program that generates as many random numbers as the number entered from the
keyboard and then displays the numbers between and separately.
The program provides the program design for a market, depending on the user's choice. Categories
consist of Food, Cleaning and FruitsVegetables Determine the stock quantity and price of 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
Cleaning Material
FruitVegetable
Payment
Exit
Use C# language please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started