Results 1 to 3 of 3

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

    : - . :

    for i:=1 to y do
    for j:=1 to y do
    if (i<j) then......

    " if (i>j) then"



    for i := 1 to y - 1 do
    for j := i + 1 to y do

    , ?

    . . -.
    .

  2. #2
    rogozen's Avatar
    Join Date: Nov:2005
    Location:
    Posts: 357
    , -, , . .:

    , , - , - , .. , . , .. i, 1 y-1, y . , .. j, i+1, (i,i) , y. , , -.
    " if (i>j) then"
    , - :
    Code:
    for i := 2 to y do
    for j := 1 to i - 1 do
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	matrix.gif‎ 
Views:	143 
Size:	4.4 KB 
ID:	23160  

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

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 |