Create a console program that will compute for the fare of passengers, depend on
its passenger type.
-Regular Passenger
- Senior Passenger
- PWD Passenger
Create a paradigm using your student id:
For example your student id is: 57549
Output:
5
5 7
5 7 5
5 7 5 4 9
C# Write a program that determines if the input letter is a VOWEL or CONSONANT. The vowels is are: A E I O U. Your program must be able to handle a capital or small input letter.
are given two classes, Person and Student, where Person is the base class and Student is the derived class. Completed code for Person and a declaration for Student are provided for you in the editor. Observe that Student inherits all the properties of Person.
Complete the Student class by writing the following:
A Student class constructor, which has parameters:
A string, .
A string, .
An integer, .
An integer array (or vector) of test scores, .
A char calculate() method that calculates a Student object's average and returns the grade character representative of their calculated average:
Write a program of round robin scheduling algorithm?
Write a program of priority scheduling algorithm based on burst time priority?
Create a HashSet “Persons” in C# and add the following names to:
Karen, Sab, lea
Print the size of the HashSet “Persons” to the standard output before and after adding the names.
Print all the names in “Persons” to the standard output.
Create another HashSet “Persons2” and add the following names to it: Jodi, Alex, Gab to the Persons2
Add your name to Hashset“Persons2”
Create a new HashSet “allNames” and add both group names to it.
Print all the names in “allNames” to the standardoutput.
Remove all the names from Hashset“allNames”
Print the size of the HashSet “allNames” before and after removing all the names.
Create a method called “MilesToKilometers” • Name: MilesToKilometers • Parameter: o A double representing the miles distance o A double representing the kilometers distance - this should be an "out" parameter • Returns: Nothing • Displays: Nothing • Task: Calculates the conversion from miles to kilometers. The converted kilometer is returned as an "out" parameter
Create a method called “Menu” to print the following menu: A – Convert Pounds to Kilograms B – Convert Miles to Kilometers X – Exit the application 2. In the Main() In the Main() method, loop through the “Menu” to give options to the user. Collect the value the user has chosen. If an invalid value is pressed, show “Invalid Input” message and show the menu again
make five randomly inputted characters fall in line using code