How to resolve the algorithm Loops/For with a specified step step by step in the FBSL programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Loops/For with a specified step step by step in the FBSL programming language
Table of Contents
Problem Statement
Demonstrate a for-loop where the step-value is greater than one.
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Loops/For with a specified step step by step in the FBSL programming language
Source code in the fbsl programming language
#APPTYPE CONSOLE
DIM n AS INTEGER
FOR n = 2 TO 8 STEP 2
PRINT n;
IF n < 8 THEN PRINT " ";
NEXT
PRINT ", who will we obliterate?"
PAUSE
You may also check:How to resolve the algorithm Multiplication tables step by step in the Lasso programming language
You may also check:How to resolve the algorithm Word search step by step in the C# programming language
You may also check:How to resolve the algorithm Euler's sum of powers conjecture step by step in the Picat programming language
You may also check:How to resolve the algorithm Hello world/Newline omission step by step in the Delphi programming language
You may also check:How to resolve the algorithm One of n lines in a file step by step in the Batch File programming language