How do I output this in C using functions I will rate right
How do I output this in C++ using functions? I will rate right away if it works! Thanks!
Solution
#include <iostream>
 #include <string.h>
 using namespace std;
 int main() {
   
 int a,b;
 cout << \"Please enter two integers : \";
 cin >> a >> b;
 int largest = a>b?a:b;
 cout << \"Of \"<< b <<\" and \" << a << \", \" << largest << \" is the largest.\";
    return 0;
 }
OUTPUT:
Please enter two integers : 8 9
Of 9 and 8, 9 is the largest.

