Results 1 to 6 of 6

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Mortos's Avatar
    Join Date: Mar:2008
    Location: bg
    Posts: 116

    ( , ). :

    1. " "var" - : "procedure action (var a:Masiv, y:integer)
    , , "var", , ?

    2. type ? -999.99 999.999 type "1..30,1..30" ? "1..30,1..30" ?

    3. "write x[i,j]:4" ( " ") ":4" ":4:2"? ,

    4. Byte ?

    5. for "i:=1 to y do
    j:=1 to y do
    "

    begin "i:=1 to y do" "j:=1 to y do" ?

    6. begin "j:=1 to y do" "if" begin ?

    7.

    begin
    res[i,j] :=Q
    count := count + 1;
    end
    else
    res[i, j] :=a[i,j];
    replace :=count;
    end;
    "end" ?



  2. #2
    Registered User
    Join Date: Oct:2003
    Location:
    Posts: 4,317
    1. "var" , . , "", "". var, , . , . var, , , . - , .
    2. "1..30" . , , 1 30. 30*30=900 . .
    4. Byte , , , 0 255, Byte . , .
    5 6. Begin end . , , , . 7, - , - , .

  3. #3
    philosophus duratea icaci's Avatar
    Join Date: Oct:2006
    Location: Aachen
    Posts: 2,698
    5, 6, 7. if :
    Code:
    if <> then <>
    
    if <> then <> else <>
    for :
    Code:
    for <. > := < -> to|downto < -> do <>
    <> , / , . for, repeat/until, if/then, if/then/else . , .. , begin end:
    Code:
    begin
      <>;
      <>;
      <>
    end
    .
    , .. <> . 5 6.

    - 5: begin , ( i), ( j), . begin , .

    .. end , :
    - , ;
    - end ( ).
    end , :
    - , <>- else if/then/else. , :
    Code:
    if <> then begin .... end; <--    if
    else ...; <-- ,  ,     else
    7.

    Internet. .
    Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    !
    " , "var""

  5. #5
    Registered User Mortos's Avatar
    Join Date: Mar:2008
    Location: bg
    Posts: 116
    .

    ---------- 16:58 ---------- 21:11 ----------

    , , a little help please

  6. #6
    Teh AimeR AimeR's Avatar
    Join Date: Dec:2006
    Location: //
    Posts: 4,307
    Quote Originally Posted by Mortos View Post
    3. "write x[i,j]:4" ( " ") ":4" ":4:2"? ,
    ":4" , 4 .
    ":4:2" 4 , 2 .

    , , , write.

    :
    Code:
    i:=10.5;
    writeln(i:5:1);
    writeln(i:1:2);
    writeln(i:4:1);
    writeln(i:6:3);
    writeln(i:5:0);
    :

    Code:
     10.5
    10.50
    10.5
    10.500
       11
    Last edited by AimeR; 23rd August 2009 at 23:17.
    ASUS X570-P|R7 5800X3D@NH-U14S|2X16G DDR4 3200 Corsair VENGEANCE LPX|Samsung 980 PRO 1TB|Radeon RX 7900 XTX 24G|AOC CQ32G1|Corsair RM750x|CM 693

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |