BASIC FORMAT
#include<iostream> // #is preprocessor
using namespace std;
int main() //main function
{
// DECLARE VARIABLE eg: int a,b;
//Perform function eg: cout<<“Product is”<<a*b;
return 0;
}
Note:: // is used to add single line comments. They are not read by compiler. They help the reader to understand the code in a better way.