how to convert this turbo pascal code to turbo c++?

350 Views Asked by At

I learned turbo pascal eight months ago and now I am studying turbo c++, so far I only know how to translate writeln and readln to turbo c++. Could anyone help me translate this code from turbo pascal to turbo c++ please? Thank You :)

b:=3;c:=5;
while(b<c)do
begin
       x:=65;y:=10;
       z:=13;a:=13;
while(x>y)do
begin
         textcolor(0);textbackground(red);
         gotoxy(z,13);writeln('Û');
         gotoxy(a,13);writeln('  ');
    x:=x-1;
    a:=a+1;
    z:=z+1;
    delay(1000);
end;
end;
end.
0

There are 0 best solutions below