Best Programming DP for whatsapp / hike! (Part-2)

1 comment
Hello,

Here are some cool dp / profile picture for you whatsapp, hike etc.

Thank you people for Great Support! So there are more programming dp pic for profile. If you want to see previous part click on this Best Programming DP for whatsapp / hike! (Part-1).

1. if(MyLove==True){  if(Propose==YES)  {   MyLoveWithME(); }}




Read More

[C++ Program] Table of Number entered by user! (while Loop)

Leave a Comment
Write a program to accept number from user and display table of that number.

Following program is created for old compiler. If you are using new compiler then you need change few part of header file.

Program:

#include<iostream.h>

#include<conio.h>



void main()

{

    int num,multi,i=1;

    clrscr();

   

    cout<<"Enter Number=";

    cin>>num;

   

    while(i<=10)

    {

        multi=num*i;

        cout<<"\n"<<num<<"*"<<i<<"="<<multi;

        i++;

    }

    getch();

}

Output:

Enter Number=7

7*1=7
7*2=14
7*3=21
7*4=28
7*5=35
7*6=42
7*7=49
7*8=56
7*9=63
7*10=70
Read More

[C++ Program] Table of Number entered by user! (For Loop)

Leave a Comment
Write a program to accept number from user and display table of that number.

Following program is created for old compiler. If you are using new compiler then you need change few part of header file.

Program:

#include<iostream.h>

#include<conio.h>



void main()

{

    int num,multi,i;

    clrscr();

   

    cout<<"Enter Number=";

    cin>>num;

   

    for(i=1;i<=10;i++)

    {

        multi=num*i;

        cout<<"\n"<<num<<"*"<<i<<"="<<multi;

    }

    getch();

}

Output:

Enter Number=7

7*1=7
7*2=14
7*3=21
7*4=28
7*5=35
7*6=42
7*7=49
7*8=56
7*9=63
7*10=70
Read More

[C++ Program] Table of Number entered by user! (do-while Loop)

Leave a Comment
Write a program to accept number from user and display table of that number.

Following program is created for old compiler. If you are using new compiler then you need change few part of header file.

Program:

#include<iostream.h>

#include<conio.h>



void main()

{

    int num,multi,i=1;

    clrscr();

   

    cout<<"Enter Number=";

    cin>>num;

   

    do

    {

        multi=num*i;

        cout<<"\n"<<num<<"*"<<i<<"="<<multi;

        i++;

    }while(i<=10);

    getch();

}

Output:

Enter Number=7

7*1=7
7*2=14
7*3=21
7*4=28
7*5=35
7*6=42
7*7=49
7*8=56
7*9=63
7*10=70
Read More