Forgotten password

Language

Bulgarian    English

Advertisements




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.

Problem:
Write a program which inputs a integer positive number N and defines if it is a three-digit number.


  • begin
  • else
  • var n : integer;
  • readln(n);
  • else write(‘No)
  • write('Enter N=');
  • if (N>=100) and (N<=999) then write(‘Yes’)
  • end.
  • if N<0 then write(‘Error’)