Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
380 B
0
Indexable
Never
#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);
}