#include<conio.h>
#include<iostream.h>
void main()
{
int
n1,n2,n3,i;
clrscr();
cout<<"\n\t\tEnter 1St
Number:";
cin>>n1;
cout<<"\n\t\tEnter 2St Number:";
cin>>n2;
cout<<"\n\t\tEnter 3St Number:";
cin>>n3;
if(n1>n2 &&n1>n3)
{
cout<<n1<<"\tNumber Is
Maximum";
}
else if(n2>n1 && n2>n3)
{
cout<<n2<<"\tNumber Is Maximum";
}
else
{
cout<<n3<<"\tNumber Is Maximum";
}
getch();
}
vOutput:
|
Monday, February 27, 2017
(5) WAP To Enter thiree Number Find Out Maximum Number in cpp
(4)WAP To Enter No And Display It Table (math Tabal) in cpp
#include<conio.h>
#include<iostream.h>
void main()
{
int n,i;
crscr();
cout<<"\n\t\tEnter Table
Number:";
cin>>n;
for(i=1;i<=10;i++)
{
cout<<"\n\t\t"<<n<<"*"<<i<<"="<<n*i<<endl;
}
getch();
}
Output:
Enter Table
Number:5
5*1=5
5*2=10
5*3=15
5*4=20
5*5=25
5*6=30
5*7=35
5*8=40
5*9=45
5*10=50(3) WAP To Enter any Number And Display It Odd Or Even in cpp
/*Enter
Number Is Chech Odd Or Even*/
#include<conio.h>
#include<iostream.h>
void main()
{
int no;
clrscr();
cout<<"\n\t\tEnter Any
Number:";
cin>>no;
if(no%2==0)
{
cout<<"\n\t\t"<<no<<"\tIs
Even Number ";
}
else
{
cout<<"\n\t\t"<<no<<"\t
is Odd Number";
}
getch();
}
Output:
Enter
Any Number:25
25 is Odd NumberSaturday, February 25, 2017
(2)WAP To Enter Two Integer Number And Display It Addition,Multiplication,subtraction,division in C++
/* Enter Two Number Display It
Addition,Subtraction ,Multiplication and Divition*/
#include<conio.h>
#include<iostream.h>
void main()
{
int n1,n2,ad,sub,mul,div;
clrscr();
cout<<"\n\t\tEnter First
Number:";
cin>>n1;
cout<<"\n\t\tEnter Second
Number:";
cin>>n2;
ad=n1+n2;
sub=n1-n2;
mul=n1*n2;
div=n1/n2;
cout<<"\n\t\t A Addition Of Tow Number:"<<ad;
cout<<"\n\t\t A Subtraction Of Tow Number:"<<sub;
cout<<"\n\t\t A
Multiplication Of Tow
Number:"<<mul;
cout<<"\n\t\t A Divition Of Tow Number:"<<div;
getch();
}
- Output:
Enter First Number:6
-
Enter Second Number:5A Addition Of Tow Number:11A Subtraction Of Tow Number:1A Multiplication Of Tow Number:30A Divition Of Tow Number:1
(1)WAP To Enter Number And Display Sum Of Total Number in CPP
/* [1] Enter A Integer Number And Display It Total Sum
Program */
#include<conio.h>
#include<iostream.h>
void main()
{
int no,add=0,c;
clrscr();
cout<<"\n\t\t Enter Number to display It addition
Sum:->";
cin>>no;
for(c=1;c<=no;c++)
{
add=add+c; //addition Of Each Number
}
cout<<"Sum Of Entered Number
Is:"<<add<<endl;
getch();
}
Enter Number to display It addition Sum:->55
- Output:
Sum Of Enter Number:1040
Saturday, November 26, 2016
How To Root Any Android Mobile
A Root Is Super User Permission To Access All The System File And System Application.
* A Following Setp TO use Root Any Android Device
Step:1
A Download King Root Apps.
(Play Store or Any Other)
Step:2
Install The Application And On The Internet Connection
To Open The Apps And Starting Root Process
Step:3
After ComPlate Root Your Android Mobile..
Note :
IT IS RISK WORK FOR MOBILE DIRECT AND INDIRECT
* A Following Setp TO use Root Any Android Device
Step:1
A Download King Root Apps.
(Play Store or Any Other)
Step:2
Install The Application And On The Internet Connection
To Open The Apps And Starting Root Process
Step:3
After ComPlate Root Your Android Mobile..
Note :
IT IS RISK WORK FOR MOBILE DIRECT AND INDIRECT
Subscribe to:
Posts (Atom)