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 { static void Q1() { Console.WriteLine("Good Morning"); } static void Q2() { Console.WriteLine("Good Evening"); } static void Q3() { Console.Write("Please enter a number between 100-999:"); string s = Console.ReadLine(); int n = int.Parse(s); Console.WriteLine("n:" + n); //متغيرات int d1, d10, d100, total; d1 = n % 10; Console.WriteLine("d1:" + d1); d100 = n / 100; Console.WriteLine("d100:" + d100); int t = (n / 10); Console.WriteLine("t:" + t); d10 = t %10; Console.WriteLine("d10:" + d10); total = d1 + d10 + d100; Console.WriteLine("total:" + total); } static void Main() { Q3(); Console.WriteLine("Hello World"); Q1(); Q2(); Q2(); } }

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