fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. // your code goes here
  8. Mark =- 1;
  9. For ( int i= 0 ; i<= n ; i+= 2 ){
  10. Console.writeline ( Mark × i);
  11. Mark = Mark *-1 ;
  12. }
  13. }
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
10
compilation info
prog.cs(9,10): error CS1525: Unexpected symbol `i', expecting `.'
prog.cs(9,31): error CS1525: Unexpected symbol `)', expecting `;' or `}'
prog.cs(10,26): error CS1056: Unexpected character `×'
prog.cs(10,27): error CS1525: Unexpected symbol `i'
Compilation failed: 4 error(s), 0 warnings
stdout
Standard output is empty