0
Input 3 numbers and find the difference beween smallest and the largest numbers???
I NEED THE PROBLEM PLS ANSWER ITT
3 Antworten
0
1
0
#include<iostream>
using namespace std;
int main()
{
int a, b, c, large_no;
cout<<"Enter three no"<<endl;
cin>>a>>b>>c;
if(a>c)
if(a>b)
large_no=a;
else
large_no=b;
else
if(b>c)
large_no =b;
else
large_no=c;
cout<<"lagest no is "<<large_no<<endl;
return 0;
}
0
please use pseudo code first to understand the process before start to code when yo dont get the answer post the pseudo code first