Cplusplus

Introduct | ion

C++ is the one of the programming language commonly known used to formulate code structure in a program/ software.
C++ generate from C language, and there are additional syntax, command, etc.
Bla bla bla bla bla bla...

Example of C++ structure (comparison of 3 numbers, which is the biggest);

#include<iostream.h>
void main()
{

     int a,b,c;

     cout<<"Enter 1st number : "; 
     cin>>a;
     cout<<"Enter 2nd number :";
     cin>>b;
     cout<<"Enter 3rd number :";
     cin>>c;

     if ((a>b)&&(a>c))
     cout<<"1st number is the biggest";
     else
          if ((b>a)&&(b>c))
     cout<<"2nd number is the biggest";
     else
     cout<<"3rd number is the biggest";

}

//Selamat menyambut ramadhan