Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions