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 ConsoleApplication17
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Kérek egy számot : ");
- int a = byte.Parse(Console.ReadLine());
- Console.Write("Kérek mégegy számot: ");
- int b = byte.Parse(Console.ReadLine());
- if (a > b){
- int nagy = a;
- }else{
- int nagy = b;
- Console.WriteLine("A nagyobb szam: " + nagy +".");
- Console.ReadKey();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement