Advertisement
KodingKid

C# favourite car input

Apr 18th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. using System;
  2. namespace MyApplication
  3. {
  4.   class Program
  5.   {
  6.     static void Main(string[] args)
  7.     {
  8.       Console.WriteLine("Enter your favourite car:");
  9.       string favCar = Console.ReadLine();
  10.       Console.WriteLine("So, your favourite car is " + favCar);
  11.     }
  12.   }
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement