Guys i made this program. It is working as expected but at the end of my program it is not showing my num variable input. please help. Here's code:
#include<stdio.h>
int main(){
int f;
int num;
printf("WELCOME TO THE GAME\n\n");
printf("enter F for starting the game\n");
scanf("%d\n\n",&f);
if(f==0){
printf("Ques 01: you are exhausted because your week was endless and less than great.\n");
printf("How are you going to spend your weekend?");
}
printf("\n\n");
printf("Option 01: I'll call my friend to ask about their plans. I heard that a new restaurant opened/ a nice comedy is playing in the cinemas / there are big discounts at the paintball club. ");
printf("\n\n");
printf("option 02: I'll switch on the Don't disturb mode on my phone and stay at home.\n");
printf("I'll watch a new episode of my favorite TV show, do a puzzle, and take a long bath with a book.");
printf("\n\n");
scanf("%d", &num);
}