online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main(void) { double zahl1, zahl2; char auswahl; printf("\nMini-Taschenrechner\n"); printf("-----------------\n\n"); do { printf("\nBitte geben Sie die erste Zahl ein: "); scanf("%lf", &zahl1); printf("Bitte geben Sie die zweite Zahl ein: "); scanf("%lf", &zahl2); printf("\nZahl (a) addieren, (s) subtrahieren, (d) dividieren oder (m) multiplizieren?"); printf("\nZum Beenden wählen Sie (b) "); scanf(" %c",&auswahl); switch(auswahl) { case 'a' : case 'A' : printf("Ergebnis: %f", zahl1 + zahl2); break; case 's' : case 'S' : printf("Ergebnis: %f", zahl1 - zahl2); break; case 'D' : case 'd' : if(zahl2 == 0) printf("Division durch 0 nicht möglich!"); else printf("Ergebnis: %f", zahl1 / zahl2); break; case 'M' : case 'm' : printf("Ergebnis: %f", zahl1 * zahl2); break; case 'B' : case 'b' : break; default: printf("Fehler: Diese Eingabe ist nicht möglich!"); break; } } while(auswahl != 'B' && auswahl != 'b'); return 0; }

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