Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- public static void Main()
- {
- double radius = double.Parse(Console.ReadLine());
- double c = 3* 3.14 * radius;
- double s = 3.14 * radius * radius ;
- Console.WriteLine("C = {0}\n S = {1}", c,s);
- }
- }
Add Comment
Please, Sign In to add comment