#include <iostream> using namespace std; int main() { int a,b,c; //三個人 int num[3]; for(int i;i<=2;i++){ cin>>a num[i]=a; } cout<<max(num); }
To embed this project on your website, copy the following code and paste it into your website's HTML: