Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
3,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:405095
 
Author:
Evaluation:
Published: 28.01.2011.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Extract

Risinājuma principi
1.Nosakām programmai nepieciešamos mainīgos.
2.Ievada faila vārdu nosakām kā simbolu konstanti
CONST InpFileName='Lab1Inp.txt';
3.Izvada faila vārdu ievadīsim katru reizi izpildot programmu.
4.Saistām ievada un izvada loģiskos failus ar failiem uz diska.
5.Apstrādi veicam ieslēdzot izpildāmos operatorus WHILE tipa ciklā. Cikla ķermenī ievietosim failu apkalpošanas operatorus, simbolu rindas apstrādes operatorus un datu izvades operatorus procesa vizuālai kontrolei uz ekrāna.

while (not EOF (InpFile)) do
begin
readln(InpFile, InputString);
OutputString:=InputString;
writeln( OutputString);
len:=Length(InputString);
b:=len div 2;
if len > 50 then
begin…

Author's comment
Work pack:
GREAT DEAL buying in a pack your savings −4,48 €
Work pack Nr. 1311507
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register