कंप्यूटर प्रोग्रामिंग/लूप्स/स्यूडोकोड

Call WhileLoop()
Call ForLoop()
Call DoLoop()
Declare Real F
Declare Real C

Set F = 0
Display "F°    C°"
While F <= 100
    Set C = (F - 32) * 5 / 9
    Display F, " = ", C
    Set F = F + 10
End While
Declare Real F
Declare Real C

Display "F°    C°"
For F = 0 To 100 Step 10
    Set C = (F - 32) * 5 / 9
    Display F, " = ", C
End For
Declare Real F
Declare Real C

Set F = 0
Display "F°    C°"
Do
    Set C = (F - 32) * 5 / 9
    Display F, " = ", C
    Set F = F + 10
While F <= 100

यह भी देखें

सम्पादन