Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApp8
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Kérem a 0 és 99 közötti számot! ");
- int szam = int.Parse(Console.ReadLine());
- if (szam <10)
- {
- Console.WriteLine("A megadott szám egyjegyű.");
- }
- else
- {
- Console.WriteLine("A megadott szám kétjegyű.");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement