Advertisement
Guest User

Untitled

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