Untitled
Anonymous
c_cpp
10/01/2023 10:47 AM
280 B
13
Indexable
#include <iostream>
#include <string>
using namespace std;
int main()
{
int a,b,c;
cin >> a >> b >> c;
int max =__max(a, __max(b, c));
int min = __min(a, __min(b, c));
cout << max-min ;
}Editor is loading...