a)
#include<iostream>
using namespace std;
int main(){
int x, y;
cin>>x>>y;
x=x%10;
y=y%10;
if(y<x){
int aux=y;
y=x;
x=aux;
}
while(x<=y){
cout<<x*10+y;
x++;
y--;
}
return 0;
}
b)
citeste x, y
x<-x%10
y<-y%10
|-daca y<x atunci
| aux<-y
| y<-x
| x<-aux
|-
scrie x*10+y
x<-x+1
y<-y-1
|-daca x<=y atunci
| |-repeta
| | scrie x*10+y
| | x<-x+1
| | y<-y-1
| |-pana cand x>y
|-