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 ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Kruh kruh1 = new Kruh();
- Honoty(kruh1);
- Console.WriteLine("Obvod: {0}", kruh1.Obvod());
- Console.WriteLine("Obsah: {0}", kruh1.Obsah());
- Console.ReadKey();
- }
- static void Honoty(Kruh vypocet) {
- Console.Write("Zadej velikost r: ");
- vypocet.r = Convert.ToInt32(Console.ReadLine());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement