Skip to content

Instantly share code, notes, and snippets.

@HahaBill
Last active October 6, 2017 11:08
Show Gist options
  • Save HahaBill/9cb28f082ec55060738ad876f0b62882 to your computer and use it in GitHub Desktop.
Save HahaBill/9cb28f082ec55060738ad876f0b62882 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp14
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Nejlepsi Kalkulacka na svete!");
Console.WriteLine("Napiste prvni cislo:");
int a = int.Parse(Console.ReadLine());
Console.WriteLine("Napiste druhe cislo:");
int b = int.Parse(Console.ReadLine());
int soucet = a + b;
int rozdil = a - b;
int nasobeni = a * b;
int deleni = a / b;
Console.WriteLine("Soucet : " + soucet);
Console.WriteLine("Rozdil : " + rozdil);
Console.WriteLine("Nasobeni : " + nasobeni);
Console.WriteLine("Deleni : " + deleni);
Console.ReadKey();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment