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 ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Podaj dwie liczby: ");
- int a = int.Parse(Console.ReadLine());
- int b = int.Parse(Console.ReadLine());
- if(a > b)
- {
- Console.WriteLine("a jest wieksze " + a);
- } else if( b > a)
- {
- Console.WriteLine("b jest wieksze " + b);
- }
- else
- {
- Console.WriteLine("sa rowne " + a);
- }
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement