Răspuns:
a=10
b=20
h=4
x=10 y=23
x=14 y=31
x=18 y=39
Explicație:
#include <iostream>
using namespace std;
int main() {
int a,b,h, x;
cout<<"a="; cin>>a;
cout<<"b="; cin>>b;
cout<<"h="; cin>>h;
while(a < b)
{
cout<<"x="<<a<<" y="<<2*a+3<<endl;
a = a+ h;
}
return 0;
}