Practice # 1
Here is I use visual studio code by Microsoft. Code is given below click on Read more.
/*
#include < > is the syentext or
method to include the header file
like 'iostream', 'math' and more.
and there's 'iostream' is a header file.
*/
#include<iostream>
/*
There's 'std' is a standard namespace which is use
to call the function 'cout' from header file
iostream because 'cout' is a builtin function of
iostream header file.
*/
using namespace std;
/*
'int' is data type integer.
and 'main()' is a entry point of every code of
instruction and 'main()' can contain further more
functions.
*/
int main(){
cout<<"HELLO WORLD ";
cout<<"HELLO EVERYONE HOW ARE YOU";
/*
return 0; is an indication to running of succesfull
program to the operating system and says return 0.
*/
return 0;
}

Comments
Post a Comment