Forgotten password


Bulgarian    English


Report a bug !
Add search function to you browser

Powered by PHP Powered by MySQL
Pascal емулатор
1 member(s) online
Size control Print  Language: Pascal

Examples://Code arrange

To solve the problem you should shift the code with your mouse to end up with working solution.

Write a program which inputs three numbers X, Y and Z and defines if at least two of them are equal.

  • readln(x);
  • write('Enter x=');
  • begin
  • readln(y);
  • if (x=y) or (y=z) or (x=z) then write('Yes')
  • end.
  • else write('No')
  • var x, y, z : real;
  • write('Enter y=');
  • write('Enter z=');
  • readln(z);