Created
July 21, 2016 22:45
-
-
Save monpeco/24e82df45b1848ca3e651923bb556426 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using System; | |
class Program | |
{ | |
static void Main() | |
{ | |
Console.WriteLine("Student info program"); | |
string firstName; | |
string lastName; | |
string birthdate; | |
string addressLine1; | |
string addressLine2; | |
string city; | |
string state_Province; | |
string zip_Postal; | |
string country; | |
firstName = "Joe"; | |
lastName = "Smith"; | |
birthdate = "03/03/1997"; | |
addressLine1 = "9757 Bank Lane"; | |
addressLine2 = "Unit D"; | |
city = "Anderson"; | |
state_Province = "SC"; | |
zip_Postal = "29621"; | |
country = "US"; | |
Console.WriteLine("---------------------------------------"); | |
Console.WriteLine("debug information:"); | |
Console.WriteLine("---------------------------------------"); | |
Console.WriteLine(firstName); | |
Console.WriteLine(lastName); | |
Console.WriteLine(birthdate); | |
Console.WriteLine(addressLine1); | |
Console.WriteLine(addressLine2); | |
Console.WriteLine(city); | |
Console.WriteLine(state_Province); | |
Console.WriteLine(zip_Postal); | |
Console.WriteLine(country); | |
Console.WriteLine("---------------------------------------"); | |
Console.WriteLine("Progarm information:"); | |
Console.WriteLine("---------------------------------------"); | |
Console.WriteLine("Info about: {0}, {1}", lastName, firstName); | |
Console.WriteLine("Birthdate: {0}", birthdate); | |
Console.WriteLine("Address: {0} {1}, {2} {3} {4}", addressLine1, addressLine2, city, state_Province, zip_Postal); | |
Console.ReadKey(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment