online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main() { char fever,cough; printf("Do you have fever? ans in(y/n):"); scanf("%s",&fever); printf("Do you have cough? ans in(y/n):"); scanf("%s",&cough); if((fever=='y')&&(cough=='y')) { printf("you should see doctor."); } else if((fever=='y') && (cough=='n')) { printf("Take paracetamol.if you dont feel comfortable then you must see to doctor."); } else if((fever=='n') && (cough=='y')) { printf(" take sinarest.if you dont feel comfortable then you must see to doctor."); } else if((fever=='n') &&(cough=='n')) { printf("you are healthy"); } else { printf("input right kyword"); } }

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