fork download
  1. usingSystem;
  2.  
  3. usingSystem.Collections.Generic;
  4.  
  5. usingSystem.Linq;
  6.  
  7. usingSystem.Text;
  8.  
  9. usingSystem.Threading.Tasks;
  10.  
  11. namespace ConsoleApplication36
  12.  
  13. {
  14.  
  15. classProgram
  16.  
  17. {
  18.  
  19. staticvoidMain(string[] args)
  20.  
  21. {
  22.  
  23. double x, S, h, Integ, a, b, n;
  24.  
  25. a = 0; b = 3; n = 100; S = 0;
  26.  
  27. h = (b - a) / n;
  28.  
  29. for (x = a; x <= (b - h); x += h)
  30.  
  31. S += Math.Asin(Math.Sqrt(x / (1 + x)));
  32.  
  33. Integ = h * S;
  34.  
  35. Console.WriteLine("Iнтеграл = " + Integ);
  36.  
  37. Console.ReadKey();
  38.  
  39. }
  40.  
  41. }
  42.  
  43. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,0): error CS1525: Unexpected symbol `usingSystem'
Compilation failed: 1 error(s), 0 warnings
stdout

Standard output is empty