fork download
  1. using System;
  2.  
  3. public class Program
  4. {
  5. public static void Main()
  6. {
  7. double a, b, c, V, S;
  8. Console.WriteLine("Введем число а,b,c");
  9. a = Convert.ToDouble(Console.ReadLine());
  10. b = Convert.ToDouble(Console.ReadLine());
  11. c = Convert.ToDouble(Console.ReadLine());
  12. V = a*b*c;
  13. S = 2*(a*b + b*c + a*c);
  14. Console.WriteLine("Обьем и площадь поверхности равна");
  15. Console.ReadLine();
  16.  
  17. }
  18. }
Success #stdin #stdout 0.02s 15912KB
stdin
Standard input is empty
stdout
Введем число а,b,c
Обьем и площадь поверхности равна