online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main () { int choice, d, choicee, choiceee, beverage, bchoice, payment, cno, cvv, no; while (1) { printf ("\n\n 1. Fast food \n 2. Beverage \n 3. Cold drinks\n 4. Exit"); printf ("\n Your choice?"); scanf ("%d", &choice); if (choice > 3) break; switch (choice) { case 1: printf ("\n 1. Menu \n 2. Today's Discounts"); scanf ("%d", &d); if (d == 1) { printf ("\n 1.Pizza \n 2.Burger \n 3.Cold drinks \n 4.Sandwich \n 5.Hotdog"); scanf ("%d", &choicee); if (choicee == 1) { printf ("\n 1. 180 inch Pizza @360 \n 2. 360 inch Pizza @500 only\n"); scanf ("%d", &choiceee); if (choiceee == 1 || choiceee == 2) goto b; } } else { printf ("No Discounts Today!"); break; } break; case 2: printf ("\n 1.Tea \n 2.Coffee"); scanf ("%d", beverage); if (beverage == 1 || beverage == 2) { printf ("\n 1.Full @20 \n Cutting @12"); scanf (" %d ", &bchoice); if (bchoice == 1 || bchoice == 2) goto b; } break; case 3: printf ("It's Winter. No Cold Drinks"); break; case 4: break; } b: printf ("\nPayment options: \n 1.Card\n 2.Online\n 3.PayTm"); scanf ("%d", &payment); switch (payment) { case 1: printf ("Type card no."); scanf ("%d", &cno); printf ("Enter CVV no."); scanf ("%d", &cvv); printf ("Loading..."); printf ("Payent success"); break; case 2: printf ("Visit www.thrillfoods.com"); break; case 3: printf ("Enter your no."); scanf ("%d", &no); printf ("Transfer the amount to '8574784844'"); break; } } 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