कंप्यूटर प्रोग्रामिंग/लूप्स/स्यूडोकोड
loops.txt
सम्पादनMain
सम्पादनCall WhileLoop() Call ForLoop() Call DoLoop()
WhileLoop
सम्पादन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
ForLoop
सम्पादन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
DoLoop
सम्पादन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