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 on entered coordinates (x, y) of a point in the plane, defines if the point lies in the first or the third quadrant.

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