0_0_18433200_30547.cpp:1:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_18433200_30547.cpp:2:7: error: expected nested-name-specifier before 'System'
using System.Collections.Generic;
^
0_0_18433200_30547.cpp:3:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_18433200_30547.cpp:4:7: error: expected nested-name-specifier before 'System'
using System.Text;
^
0_0_18433200_30547.cpp:5:7: error: expected nested-name-specifier before 'System'
using System.Threading.Tasks;
^
0_0_18433200_30547.cpp:11:26: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_18433200_30547.cpp:11:35: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_18433200_30547.cpp:29:5: error: expected ';' after class definition
}
^
0_0_18433200_30547.cpp: In static member function 'static void acmm::Program::Main(int*)':
0_0_18433200_30547.cpp:15:13: error: 'string' was not declared in this scope
string line;
^
0_0_18433200_30547.cpp:16:20: error: 'line' was not declared in this scope
while((line=Console.ReadLine())!=null)
^
0_0_18433200_30547.cpp:16:25: error: 'Console' was not declared in this scope
while((line=Console.ReadLine())!=null)
^
0_0_18433200_30547.cpp:16:46: error: 'null' was not declared in this scope
while((line=Console.ReadLine())!=null)
^
0_0_18433200_30547.cpp:18:21: error: 'Convert' was not declared in this scope
n = Convert.ToInt32(line);
^
0_0_18433200_30547.cpp:26:63: error: request for member 'ToString' in '(((((double)n * a0) + an_1) - c) / (double)(n + 1))', which is of non-class type 'double'
Console.WriteLine(((n * a0 + an_1 - c)/(n+1)).ToString("#0.00"));
^
|