Advertisement
NadyaMisheva

Хьпсиьхе хь

Nov 2nd, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using System;
  2.                    
  3. public class Program
  4. {
  5.     public static void Main()
  6.     {
  7.         double radius = double.Parse(Console.ReadLine());
  8.         double c = 3* 3.14 * radius;
  9.         double s = 3.14 * radius * radius ;
  10.         Console.WriteLine("C = {0}\n S = {1}", c,s);
  11.        
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement