online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online C# Compiler. Code, Compile, Run and Debug C# program online. Write your code in this editor and press "Run" button to execute it. *******************************************************************************/ using System; class HelloWorld { //1 6, 21 //2 public static int F1(int n1, int n2, int n3, int n4) { int count = 0; if (n1 % 2 == 1 && n1 > 99 && n1 < 1000) count += 1; if (n2 % 2 == 1 && n2 > 99 && n2 < 1000) count += 1; if (n3 % 2 == 1 && n3 > 99 && n3 < 1000) count += 1; if (n4 % 2 == 1 && n4 > 99 && n4 < 1000) count += 1; return count; } //3 public static bool IsDigit(char ch) { if (ch >= '0' && ch <= '9') return true; else return false; //return (ch >= '0' && ch <= '9'); } //4 public static int SumN(int n) { int total = 0; for (int i = 0; i < n; i++) { Console.Write("enter number:"); int num = int.Parse(Console.ReadLine()); total += num; } return total; } //5 public static void Print3(string s, double d) { for (int i = 0; i < 3; i++) { Console.WriteLine("s:{0},d:{1}",s,d); } } //6 public static int CountD(int n) { int total = 0; while( n>0) { int d = n % 10; n = n / 10; total += d; } return total; } public static void test_F1() { Console.WriteLine(F1(101,101,101,1)); } static void Main() { Console.WriteLine("Hello World"); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue