Created
November 20, 2020 17:53
-
-
Save jacks0n9/a6a25dfb5b0f5cf105ee179f3dda6d9e 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; | |
namespace bruhapp | |
{ | |
class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
Console.WriteLine("The first argument you passed into the app is {0}",args[0]); | |
Console.WriteLine("Hey bruh, what's ya name?"); | |
string name = Console.ReadLine(); | |
Console.WriteLine("Hello {0}! How old are you?", name); | |
int age = Int16.Parse(Console.ReadLine()); | |
int inYears = age + 10; | |
Console.WriteLine("Ok, I now know that your name is {0} and you are {1} years old. That means in 10 years, you will be {2}!",name,age,inYears); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment