1#include <iostream>
2using namespace std;
3
4int main() {
5 float n1, n2, n3;
6
7 cout << "Enter three numbers: ";
8 cin >> n1 >> n2 >> n3;
9
10 if(n1 >= n2 && n1 >= n3)
11 cout << "Largest number: " << n1;
12
13 if(n2 >= n1 && n2 >= n3)
14 cout << "Largest number: " << n2;
15
16 if(n3 >= n1 && n3 >= n2)
17 cout << "Largest number: " << n3;
18
19 return 0;
20}