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. In C#
Sample Dialog
Welcome to the Continental University Registration System!
Enter data about a student
First Name: Bob
Last Name: Blake
Credits Taking: 15
Blake, Bob Credits Taking: 15
namespace windowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
IntializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (MessageBox.Show(" welcome to the Continental University Registration System!" , "Aaaaaaaaaa", MessageButtons.EnterExit,MessageBoxIcon.Exclamation==DialogResult.Enter)
{
MessageBox.Show ("Enter your data");
}
else
{
MessageBox.Show("Exit");
}
}
}
}
namespace Student
{
class Program
{
static void Main (string[ ] args)
{
Console.Write("Enter your first name: ");
string name = Console.ReadLine( );
Console.write("Enter your last name");
string name= Console.ReadLine( );
byte credit = byte.Parse( Console.ReadLine( ));
Console.ReadKey( );
}
}
}
Get Answers For Free
Most questions answered within 1 hours.