Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
378 B
3
Indexable
#include 
using namespace sdt;
int main() {
int salary1, salary2, salary3;
cin >> salary1;
cin >> salary2; 
cin >> salary3;
if ( salary1 > salary2 && salary1 > salary3){
salary1 = salary1-salary3);
if ( salary2>salary1 && salary2>salary3){
salary2 = salary2 - salary3};
if ( salary3 < salary1 && salary3 < salary2){
salary1 << “-“ << salary3 “=“ << (salary1 - salary3);