Create C# Console application. Within the Main() method in this application, create variables of the  correct data type for the following:   • Student information, such as:    o First Name  o Last Name  o Birthdate  o Address Line 1  o Address Line 2  o City  o State/Province  o Zip/Postal  o Country  o Any other pertinent information you want to add for a student record  • Professor information with pertinent fields related to what a professor in real-life would have. • A university degree with pertinent fields such as Bachelor or Master.  o A degree can be Bachelor of Science in Information Technology and include fields such as  Degree Name, credits required, etc. Some of the fields, such as course list and prerequisites  will need to wait until you know how to create arrays or collections.  • A university program with pertinent fields. Fields might include:  o Program name (examples might be Business, Information Technology)  o Degrees offered (Bachelor, Master, Ph.D.)  o Department Head    • Information for a course that would be part of your selected degree and program, with pertinent  fields. Examples might be "Introduction to Computer Science" or "Introduction to Psychology".  Once you have the variables created, use assignment statements to assign values to them and use the  Console.WriteLine() method to output the values to the console window.   Challenge  Investigate the .NET Framework documenation around Console.ReadLine() and modify your code to use  this method for accepting input from a user of your application and assign it to the variables you have  created.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

Create C# Console application. Within the Main() method in this application, create variables of the  correct data type for the following:  

• Student information, such as: 

 

o First Name 

o Last Name 

o Birthdate 

o Address Line 1 

o Address Line 2 

o City 

o State/Province 

o Zip/Postal 

o Country 

o Any other pertinent information you want to add for a student record 

• Professor information with pertinent fields related to what a professor in real-life would have. • A university degree with pertinent fields such as Bachelor or Master. 

o A degree can be Bachelor of Science in Information Technology and include fields such as  Degree Name, credits required, etc. Some of the fields, such as course list and prerequisites  will need to wait until you know how to create arrays or collections. 

• A university program with pertinent fields. Fields might include: 

o Program name (examples might be Business, Information Technology) 

o Degrees offered (Bachelor, Master, Ph.D.) 

o Department Head 

 

• Information for a course that would be part of your selected degree and program, with pertinent  fields. Examples might be "Introduction to Computer Science" or "Introduction to Psychology". 

Once you have the variables created, use assignment statements to assign values to them and use the  Console.WriteLine() method to output the values to the console window.

 

Challenge 

Investigate the .NET Framework documenation around Console.ReadLine() and modify your code to use  this method for accepting input from a user of your application and assign it to the variables you have  created.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Study of Characters
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning