Question: Objective You will do some programming exercises of variables and data types in C#. It will help you to improve your programming skills in using
Objective You will do some programming exercises of variables and data types in C\#. It will help you to improve your programming skills in using variables and data types in CH. Q1: Use Visual Studio editor to write a console program in C\# to display complete student information. Accept student's name, age, ID, and college name, city, and address, Store all those values into the appropriate variable's datatypes (use Convert class), and then, print (show) all the student and college information in correct format (on two lines) by using the placeholders (align all the numbers to the right and text to the left). Add the try \& catch to all your conversions from string to some others datatypes (use goto instruction if you have an exception). Use a loop for having the valid age value entered between 18 to 65 years old. Use a loop do .. while and switch for entering more than one student data. Test and debug your programme and identify yourself and the work and comment the code of .cs file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
