This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Including the header file stdio.h | |
#include <stdio.h> | |
// Defining the main() function | |
int main() | |
{ // main() function opening brace | |
// To display some text on the screen, we use the printf() function from stdio.h file | |
printf(" Hello World! \n"); // The '\n' at the end means new line | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
printf(" Hello World! \n"); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
set /P name="What's your name? " | |
if %name% == Siraj goto success | |
cls | |
color 0c | |
echo Sorry Sir, you dont have authorization to proceed. | |
pause | |
exit | |
:success |