C# Programming Performance Based Final

Select 3 projects from numbers 1-5 below and 2 projects from numbers 6-10 and complete the tasks in C#. Save each project with FinalProject(Question#). For Example: FinalProject3 if I select number 3 below

Save all work into your Class Final folder.

 


1. Write a C# Sharp program to find the eligibility of admission for a professional course based on the following criteria: 
Marks in Maths >=65
Marks in Physics >=55
Marks in Chemistry>=50

or
Total in all three subject >=180
or
Total in Math and one other Subject >=140

Test Data : 
Input the marks obtained in Physics :65 
Input the marks obtained in Chemistry :51 
Input the marks obtained in Mathematics :72
Expected Output :
The candidate is eligible for admission

2. Write a program named GreenvilleRevenue that prompts a user for the number of contestants entered in last year’s competition and in this year’s competition. Display all the input data. Compute and display the revenue expected for this year’s competition if each contestant pays a $25 entrance fee. Also display a statement that indicates whether this year’s competition has more contestants than last year’s.


3. Write a program named MarshallsRevenue that prompts a user for the number of interior and exterior murals scheduled to be painted during the next month. Compute the expected revenue for each type of mural. Interior murals cost $500 each, and exterior murals cost $750 each. Also display the total expected revenue and a statement that indicates whether more interior murals are scheduled than exterior ones.

 

4. Write an application that allows the user to input monthly rainfall amounts for one year storing the values in an array. Create a second
array that holds the names of the month. Produce a report showing the month name along with the rainfall amount and its variance from the
mean. Calculate and display the average rainfall for the year.

 

5. Create an application that can be used to calculate the total amount due for purchases. Allow any number of items to be entered. Determine the
total due including sales tax and shipping. Sales tax of 7.75% is charged against the total purchases. Shipping charges can be determined based
on the number of items purchased. Use the following chart to determine the shipping charge.


fewer than 3 items $3.50
3 to 6 items $5.00
7 to 10 items $7.00
11 to 15 items $9.00
more than 15 items $10.00


Display an itemized summary containing the total purchase charge, number of items purchased, sales tax amount, shipping charge, and
grand total.

 

6. Create a Trip Calculator GUI program that can be used to determine miles per gallon for a given trip. Set the Form object properties
of Name, ForeColor, BackColor, Size, Location, Text, and AcceptButton. The form should contain labels and textboxes to allow the user to input trip destination, miles traveled, and gallons of gas consumed.
Right justify the number entries. Left justify the destination entry. Two buttons should be placed on the form. Center the text on the button objects. Name all objects used in program statements. When the user clicks the button that performs the calculations, display on a label the miles per gallon for that trip. The second button should be used to reset or clear all textbox entries.

7. Write a program that accepts any number of homework scores ranging in value from 0 through 100. Prompt the user for a new score if they enter
a value outside of the specified range. Prompt the user for a new value if they enter an alphabetic character. Store the values in an array. Calculate
the average excluding the lowest and highest scores. Display the average as well as the highest and lowest scores that were discarded.

8. Create a program for The Cactus Cantina named FoodOrder that accepts a user’s choice from the options in the accompanying table. Allow the user to enter either an integer item number or a string description. Pass the user’s entry to one of two overloaded GetDetails() methods, and then display a returned string with all the order details. The method version that accepts an integer looks up the description and price; the version that accepts a string description looks up the item number and price. The methods return an appropriate message if the item is not found.

Item number Description Price
20 Enchilada 2.95
23 Burrito 1.95
25 Taco 2.25
31 Tostada 3.10

9. Create an application named SalesTransactionDemo that declares several SalesTransaction objects and displays their values and their sum. The SalesTransaction class contains fields for a salesperson name, sales amount, and commission and a readonly field that stores the commission rate. Include three constructors for the class. One constructor accepts values for the name, sales amount, and rate, and when the sales value is set, the constructor computes the commission as sales value times commission rate. The second constructor accepts a name and sales amount, but sets the commission rate to 0. The third constructor accepts a name and sets all the other fields to 0. An overloaded + operator adds the sales values for two SalesTransaction objects.

10. Write a program that allows the user to enter any number of names, last name first. Using one of the predefined methods of the Array class, order the names in ascending order. Display the results.