Input three integers in different lines (one each line).
Print out the integers in one line.
If the 1st integer is greater than or equal to both the 2nd integer and the 3rd integer, print "Yes".
Input
Three lines containing an integer on each.
3
2
1
Output
The first line contains all the three inputted integers.
The second line contains a string which is the result.
3·2·1
Yes
#include <iostream>
using namespace std;
int main()
{
cout << "Input three numbers:\n" ;
int i1 =0 , i2 = 0, i3 = 0 ;
cin >> i1 >> i2 >> i3 ;
}
Comments
Leave a comment