CIIT
Stack Lab
Learning Paths
Sign In
‹
Topics
HTML
CSS
Bootstrap
JavaScript
TypeScript
React
Angular
Node.js
Core Java
Python
C#
GitHub
Jenkins
Azure
AWS
SQL Server
Basic Excel
Advanced Excel
Power BI
Tableau
NumPy
Pandas
Matplotlib
›
Source Code Editors
CSharp
Html
Javascript
✍️ CSharp Source Code Editor:
Run Code
Reset
using System; class Program { static void Main() { Console.Write("What is your first name? "); string first = Console.ReadLine(); Console.Write("What is your last name? "); string last = Console.ReadLine(); Console.WriteLine($"\nProcessing data for {first} {last}..."); Console.Write("Enter your birth year: "); int year = int.Parse(Console.ReadLine()); Console.WriteLine($"Result: You are {2026 - year} years old!"); } }
Interactive Console Terminal:
Click "Run Code" button above to execute program...
>