Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _05.PrintPartOfASCIITable
- {
- class Program
- {
- static void Main(string[] args)
- {
- int firstAsciiValue = int.Parse(Console.ReadLine());
- int secondAsciiValue = int.Parse(Console.ReadLine());
- for (int i = firstAsciiValue; i <= secondAsciiValue; i++)
- {
- char chr = (char)(i);
- Console.Write($"{chr} ");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment