#include <iostream>
using namespace std;
int main()
{
int x,y;
cin>>x;
if(x>5) y=x+3;
else y=x-3;
cout<<y;
return 0;
}
Show life that you have a thousand reasons to smile
© Copyright 2024 DOKU.TIPS - All rights reserved.
#include <iostream>
using namespace std;
int main()
{
int x,y;
cin>>x;
if(x>5) y=x+3;
else y=x-3;
cout<<y;
return 0;
}