Create an FCFS scheduling program in which the user enters the number of Process,
arrival and burst times at run time.
a) Write a method PopulationTotal that accepts 2 positive values, namely the current
population and the growth rate . The method determines and returns the total population based on the current
population and growth rate.
b) Write a method Over180Million that accepts a positive value representing the population. The method determines whether the population is over 180 million people, and returns
a value of true if this is so, otherwise returns a value of false.
c) Write a program that requests the user for a year (you can assume the year will always be at
least 2000), the population of Brazil in that year and the annual
population growth rate (always as a real number in the range 0 – 1), and then uses the two
methods written above to determine and display the year in which Brazil’s population first
exceeded/exceeds 180 million people. The program must also display Brazil’s total population
in this year.
a) Write a method GetOneStudent that asks a student for both of his/her WRAV101 and
WRSC111 marks (each as a real number). The method must return both of these marks. The
method must ensure that each of the marks is in the range 0 to 100.
b) Write a method CanContinue that takes as input two marks, one for WRAV101 and one for
WRSC111. Each of these marks is in the range 0 to 100. The method must return the value
true if both of these marks are at least 50, otherwise the method must return the value false.
c) Write a method DisplayDecision that takes as input two marks, one for WRAV101 and one
for WRSC111. Each of these marks is in the range 0 to 100. If the student can continue with
the second semester modules (use CanContinue above), an appropriate message and the
average mark for the two modules is displayed, otherwise the student is informed that he may
not continue.
a) Write a method GetOneStudent that asks a student for both of his/her WRAV101 and
WRSC111 marks (each as a real number). The method must return both of these marks. The
method must ensure that each of the marks is in the range 0 to 100.
b) Write a method CanContinue that takes as input two marks, one for WRAV101 and one for
WRSC111. Each of these marks is in the range 0 to 100. The method must return the value
true if both of these marks are at least 50, otherwise the method must return the value false.
Using visual studio , use C# format form.cs
this link shows the gui. Copy exactly like this. : https://imgur.com/a/uwCEbTv
also the link will show the project requirements. please do them all
This application consists of 1 form with 30 controls:
6 Textboxes
3 Lines (use labels)
12 Buttons
7 Labels
1 List box
2 Group boxes or panels
and 1additional class that contains the methods
Code must be written to respond to the user clicking on the buttons
create a console application to test usage of switch case construct. Accept some integer from user as command line argument and using a switch case construct
create a simple circular linked list structure that manages a list of employees read from a file and write the function that deletes all the employees with an even in O(n) complexity
( Data structure )
Make a program that will accept an integer and loop for the same number of times as that of the inputted integer and input random integers and add it to the array/list one by one, per line. Afterwards, make your program accept another random integer.
Using that final integer, compare from your array/list if the final integer's value is also present in your current array/list. If so, print "Present"; otherwise, print "None".
Start coding now!
Input
The first line contains the size of the array/list.
The next lines contain the integers.
The last line contains an integer to be searched.
5
3
21
2
5
23
2
Output
A line containing a string.
Present
If the monthly home loan repayment is more than a third of the user’s gross monthly
income, the software shall alert the user that approval of the home loan is unlikely.
7. The software shall calculate the available monthly money after all the specified deductions
have been made.
8. The software shall not persist the user data between runs. The data shall only be stored in
memory while the software is running.
Non-functional requirements:
1. You are required to use internationally acceptable coding standards. Include
comprehensive comments explaining variable names, methods, and the logic of
programming code.
2. You are required to use classes and inheritance. Create an abstract class Expense, from
which HomeLoan, etc., can be derived.
3. Store the expenses in an array
The first line will contain a message prompt to width of the skyscraper.
The second line will contain a message prompt to height of the skyscraper.
The succeeding lines will contain the skyscraper pattern.
Enter·width·of·skyscraper:·5
Enter·height·of·skyscraper:·10
···*
·*****
·*****
·*****
·*****
·*****
·*****
·*****
·*****
*******