Question

In: Computer Science

University of IT is a new for profit college that aims to serve the growing need...

University of IT is a new for profit college that aims to serve the growing need of trained IT professionals in the workplace. To expand, it recently announced a large grant from several of the large technology companies that it plans to use to provide scholarships.

There are two kinds of scholarships: Presidential(full tuition scholarship) and Ambassador(half tuition scholarship). To get a Presidential scholarship, a student must have an A, A-, or B+ Grade Point average and an ACT score of 28 or more. To get an Ambassador Scholarship, a student must have an A, A-, B+, B or B- Grade Point Average OR an ACT score of 24 or more. A final piece of data that is to be collected is whether the student has financial need (Yes/No)

Create a program that allows for input of a GPA using letters, A, A-, B+,B, B-, C+,C,C- only.   Optionally you can add a "Lower than C" category. A student can only have one of these grade letter GPA values. Also allow input of an ACT score. Based on the criteria, analyze the GPA and the ACT score and determine if an individual should get a scholarship. Upon completion of determining scholarship eligibility, the program should display on screen one of three results:

  • Presidental Scholarship Awarded
  • Ambassador Scholarship Awarded
  • No Scholarships Available Based on Criteria

The financial need data is not used in determining the eligibility but will be used for other purposes.

Make sure the ACT score is a positive, numeric value. When the program first loads, make sure no default values are chosen. Provide a clear function so that the GPA and ACT score and financial need data are cleared out and another students data can be entered. Provide an Exit function as well so that the user doesn't have to cancel the screen in the upper right corner to exit the program. The name of the program to appear on the screen is "Scholarship Eligibility Application" (without the quotes).

Within the program, comment sections of the code to indicate what is happening. Use Windows naming standards for both variables and objects including the form and application.

Complete a Use Case diagram to test your program with at least 5 cases and include it in your submission.  

Use visual studios C# and please show code on the Form1.cs and show the Form1.cs[Design]

Solutions

Expert Solution

Source Code:

using System;
class Scholarship {
  static void Main() {
    Console.WriteLine("                              Scholarship Eligibility Application\n");
    string GPA;//it takes grade input
    int ACT;//it takes ACT value from user
    string financial_assist;//for financial assistance needed or not.
    Console.WriteLine("Please Enter your GPA Score: ");
    GPA = Console.ReadLine();
    Console.WriteLine("Please Enter your valid positive and numeric value: ");
    ACT = Convert.ToInt32(Console.ReadLine());
    int len = GPA.Length;
    Console.WriteLine("Do you need financial need ");
    financial_assist = Console.ReadLine();
    //so basically to make it simple what i am doing is like taking input in string and after that see what is the length pf it
    // if lenght is 1 ie input given is A,B,C an dif input is like A-,B-,.. then its two caracter and i am getting them
    //in two characters first and second and then apply if-else to find answer.
    char first;
    char second='D';
    if(len == 1)
        first = GPA[0];
    else{
        first = GPA[0];
        second = GPA[1];
    }
    if(((first == 'A') || (first == 'A' && second =='-') || (first == 'B' && second =='+' )) && (ACT >= 28)){
        Console.WriteLine("Presidential Scholarship Awarded ");
    }
    else if(((first == 'A' && second=='-') || (first == 'B' && second =='+' ) || (first == 'B' && second =='-') || (first == 'B')) && ACT >= 24){
        Console.WriteLine("Ambassador Scholarship Awarded ");
    }
    else
        Console.WriteLine("No Scholarship Available Based On Criteria ");
    Console.Clear();
    System.Environment.Exit(0);
  }
}

Related Solutions

University of IT is a new for profit college that aims to serve the growing need...
University of IT is a new for profit college that aims to serve the growing need of trained IT professionals in the workplace. To expand, it recently announced a large grant from several of the large technology companies that it plans to use to provide scholarships. There are two kinds of scholarships: Presidential(full tuition scholarship) and Ambassador(half tuition scholarship). To get a Presidential scholarship, a student must have an A, A-, or B+ Grade Point average and an ACT score...
The following problem is an example of typical transactions that a not-for-profit college or university might...
The following problem is an example of typical transactions that a not-for-profit college or university might have.  Use the information in the FASB Accounting Standards Codification to help you answer the requirements of the problem. Beatty College, a not-for-profit college, engaged in the following transactions during its fiscal year ending June 30, 2015.          Requirements:  Prepare appropriate journal entries, indicating the types of funds (by restrictiveness) in which they would be recorded. Transactions:                1. In May 2015 Beatty College collected $100,000,000 in student...
How are the aims of a for-profit prison often at odds with the public good?
How are the aims of a for-profit prison often at odds with the public good?
What purpose does the electoral college serve? Does it still serve as a protection for small...
What purpose does the electoral college serve? Does it still serve as a protection for small states, or is used as a way to control the political process with less than a majority of the votes? Defend your position with facts. As we wrap up your examination of the political process, consider whether we should be limited to just two parties or would we be better served with several different parties? Use information you have learned in this course to...
Q = A university is hiring new construction company and need to come with a blueprint....
Q = A university is hiring new construction company and need to come with a blueprint. They are debating on how much distance/km belonging to a forested park can be preserved. Within this region, there are 250 residents and each have an identical inverse dmnd function where P = 20 - Q. Here, Q represents the amount of distance/km preserved. P is the representing per distance cost; that an individual is willing to pay for the amount of distance (Q)....
Case Study - Performance Management at the Yanbu University College Library The Yanbu University College, Yanbu,...
Case Study - Performance Management at the Yanbu University College Library The Yanbu University College, Yanbu, was established in 2005. As in the case of many other modern university libraries worldwide that face resources challenges and the need to serve an increasingly diverse customer base, the YUC Library has implemented numerous initiatives. One such initiative is a performance management system. However, several of the components of the performance management process at the YUC library are in need of improvement. First,...
The non-profit University Hospital is contemplating purchasing a new blood gas machine at a cost of...
The non-profit University Hospital is contemplating purchasing a new blood gas machine at a cost of $1,500,000. Useful life of this machine is 10 years. The hospital currently serves 5,000 patients per year, 40 percent of whom need blood gas analysis data as part of the diagnostic tests. The blood samples are presently sent to a private laboratory that charges $150 per sample. In-house variable expenses are estimated to be $85 per sample if the hospital purchases the analysis machine....
The University of Danville is a private not-for-profit university that starts the current year with $700,000...
The University of Danville is a private not-for-profit university that starts the current year with $700,000 in net assets: $400,000 without donor restrictions and $300,000 with donor restrictions. The $300,000 is composed of $200,000 with purpose restrictions and $100,000 that must be held permanently. The following transactions occurred during the year. Charged students $1.2 million for tuition and fees. Received a donation of equity investments that had cost the owner $100,000 but is worth $300,000 currently. According to the terms...
A recent college graduate from Clayton State University has the choice of buying a new car...
A recent college graduate from Clayton State University has the choice of buying a new car for $33,500 or investing the money for four years with an 11% expected annual rate of return. He has an investment of $41,000 in equities and bonds which yields 8% expected annual rate of return. If the graduate decides to purchase the car, the best estimate of the opportunity cost of that decision is ________. Question 2 options: $3,280 $18,040 $14,740 $41,000
OGOYA Ltd is a fast-growing company in need of new financing to fund its expansion plans....
OGOYA Ltd is a fast-growing company in need of new financing to fund its expansion plans. It is hoping to raise $10 million dollars from a debt issuance. It is considering the following options: A. Issue 2-year 8% debentures at par on January 1, 2019. Interest payments are made annually at the end of each year. The debenture matures on December 31, 2020. B. Issue 2-year 4% convertible debentures at par on January 1, 2019. The debentures can be converted...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT