Question

In: Computer Science

In C# Start to develop a registration program for Continental University. At this stage of development,...

In C#

Start to develop a registration program for Continental University. At this stage of development, the program only needs to keep track of some basic information about a student, including first name, last name, and number of credits taking. You will gradually enhance the program in subsequent assignments. You need to implement a class named Student that represents a student, and a testing program. The testing program should prompt the user to enter the data about a student and then display a summary.

Sample Dialog

Welcome to the Continental University Registration System!

Enter data about a student

First Name: Tom

Last Name: Evans

Credits Taking: 12

Evans, Tom Credits Taking: 12

Solutions

Expert Solution

using System;
  class Student  {  
                public string firstName;
                public string lastName;
                public int credits;
                   public override string ToString(){
                       
                    return lastName+", "+firstName+" Credits Taking: "+credits;
                   }
                        
} 
class HelloWorld {
  static void Main() {
      Student s = new Student();
    Console.WriteLine("Welcome to the Continental University Registration System!");
    Console.WriteLine("Enter data about a student");
    Console.Write("First Name: ");
    string firstName=Console.ReadLine();
    Console.Write("Last Name: ");
    string lastName=Console.ReadLine();
    
    Console.Write("Credits Taking: ");
    int credits=Convert.ToInt32(Console.ReadLine());
    s.firstName=firstName;
    s.lastName=lastName;
    s.credits=credits;
    Console.WriteLine(s);
    
  }
}

NOTE : PLEASE COMMENT BELOW IF YOU HAVE CONCERNS.

I AM HERE TO HELP YOUIF YOU LIKE MY ANSWER PLEASE RATE AND HELP ME IT IS VERY IMP FOR ME


Related Solutions

Description In C# Further enhance the registration program for Continental University. Add more attributes about a...
Description In C# Further enhance the registration program for Continental University. Add more attributes about a student, including gender, residency (in-state or out-state), and entrance date. Allow the user to repeatedly enter student information until the user wants to quit. When the user enters an invalid value, ask the user to repeatedly enter the value until a valid value has been entered. Gender must be ‘M’ or ‘F’. Residency must be ‘I’ or ‘O’. Display a short summary after each...
During the Norming stage of team development, one of the tasks is to really develop and...
During the Norming stage of team development, one of the tasks is to really develop and maintain team rules and boundaries. This is where the expectations of the team come into play and the members collectively decide on the team’ rules. For a team in healthcare, create a list of rules and boundaries that have been established, and discuss whether these rules and boundaries are effective.
Team Development Stage 1 – Forming (200WORDS) Team Development Stage 2 – Storming(200WORDS) Team Development Stage...
Team Development Stage 1 – Forming (200WORDS) Team Development Stage 2 – Storming(200WORDS) Team Development Stage 3 – Norming(200WORDS) Team Development Stage 4 – Performing(200 WORDS) WITH TWO PEER REFERNCES ABOVE 2010
C++ program: ABC Co wants you to develop a C++ program to calculate the total invoice...
C++ program: ABC Co wants you to develop a C++ program to calculate the total invoice based on the user inputs item price and the quantity of the item purchased, taking into consideration the discount given for each category as follow: Less than 10 Item: No discount Between 10 and 20 items: 10 % off the item price More than 20 items: 20% off the item price. Your Program should display, the total before discount, how much discount and the...
You will develop a program in C++ that will do a "find and replace" on an...
You will develop a program in C++ that will do a "find and replace" on an input file and write out the updated file with a new name. It will prompt your user for four inputs: The name of the input file. The characters to find in the input file. The replacement (substitute) characters. The name of the output file. It will perform the replacement. Note1: all instances must be replaced not just the first one on a line. Note2:...
You will develop a program in C++ that will do a "find and replace" on an...
You will develop a program in C++ that will do a "find and replace" on an input file and write out the updated file with a new name. It will prompt your user for four inputs: The name of the input file. The characters to find in the input file. The replacement (substitute) characters. The name of the output file. It will perform the replacement. Note1: all instances must be replaced not just the first one on a line. Note2:...
What's the importance of the following when starting a new business? Projected development stage outlays (start-up...
What's the importance of the following when starting a new business? Projected development stage outlays (start-up cost) and sources of and capital Three-year annualized income statement projections Break-even analysis Initial and three-year thereafter balance sheet projections Loan debt service projection Expected cash inflows and outflows for the first 12 months Analysis of financial feasibility ?
Required to develop a complete C Program (runs in Dev-C++ software) that helps to manage the records of projects in an Engineering Students Design Project competition organized by a university.
Required to develop a complete C Program (runs in Dev-C++ software) that helps to manage the records of projects in an Engineering Students Design Project competition organized by a university. The actual number of projects are unknown, but it is limited to a maximum number of 100.Each project record contains information like Project ID, Project Title, Name of Team Members and Scores of evaluation. These project records are stored in a text file, sorted by the project id. A sample...
C++ Create a program that use the linkedbag 3. Develop a program to maintain a list...
C++ Create a program that use the linkedbag 3. Develop a program to maintain a list of homework assignments. When an assignment is assigned, add it to the list, and when it is completed, remove it. You should keep track of the due date. Your program should provide the following services: • Add a new assignment. • Remove an assignment. • Provide a list of the assignments in the order they were assigned. • Find the assignment(s) with the earliest...
Apply DMAIC to improve the following at any university. Course registration.
Apply DMAIC to improve the following at any university. Course registration.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT