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