Va rog mult sa mă ajutați cu aceste probleme

Răspunsuri la întrebare
Răspuns:
12
#include <iostream>
using namespace std;
int main(){
int x,y;
cin>>x>>y;
int c=x%10;
int c2=y/100;
cout<<c*10+c2;
return 0;
}
13
#include <iostream>
using namespace std;
int main(){
int x;
cin>>x;
int c=x%10;
x/=10;
x=x*10+3;
x=x*10+c;
cout<<x;
return 0;
}
14
#include <iostream>
using namespace std;
int main(){
int x;
cin>>x;
int c=x%100;
x/=100;
x=x*10+8;
x=x*100+c;
cout<<x;
return 0;
}
15 a)
16 (x>=0 && y>=0 && x%2==1 && y%2==1 && x%5==0 && y%5==0)
17 (x%2==0 && y%2==0 && x<=0 && y>0 || x%2==0 && y%2==0 && x<0 && y=>0 || x%2==0 && y%2==0 && x>=0 && y<0 || x%2==0 && y%2==0 && x>0 && y<=0)
18 (x>0 && y>0 && z>0 && x!=y!=z)
19 (x/100 == 0)
20 int n=x,c=0;
while(n){
c=c*10+n%10;
n/=10;
}
(x==c)
Explicație:
iar la restul te descurci tu!
am incredere :)