if-else statement is used to execute a statement block or a single statement depending on the value of a condition.
|
Note : clrscr() It is predefined function in "conio.h" (console input output header file), by using this function we can clear the data from consol(Monitor), Here we skip this function( just remove // to you can use this function ).
getch() is a way to get a user inputted character (getch() andgetchar() are used to read a character from screen). It can be used to hold program execution.
|
We have a YouTube channel for live game streaming purposes, the channel name is "NightHawk". You can visit our gaming channel and support us, Thank you