Advertisement
monceypants274

homework 1 #3

Apr 23rd, 2019
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1. using System;
  2.  
  3. namespace IDK
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             int r = int.Parse(Console.ReadLine());
  10.             double area = Math.PI * (r * r);
  11.             double per = 2 * Math.PI * r;
  12.             Console.WriteLine("Litseto e: " + area);
  13.             Console.WriteLine("Obikolkata e: " + per);
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement