Last active
October 6, 2017 11:08
-
-
Save HahaBill/9cb28f082ec55060738ad876f0b62882 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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