Advertisement
Spocoman

05. Print Part Of ASCII Table

Jan 18th, 2022
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. using System;
  2.  
  3. namespace PrintPartOfTheASCIITable
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             int n1 = int.Parse(Console.ReadLine());
  10.             int n2 = int.Parse(Console.ReadLine());
  11.             for (int i = n1; i <= n2; i++)
  12.             {
  13.                 Console.Write($"{(char)i} ");
  14.                
  15.             }
  16.         }
  17.     }
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement