123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- Sequence
- Sequence
- Sequence
- Sequence
- Sequence
- ;
- Assign
- Identifier count
- Integer 1
- Assign
- Identifier n
- Integer 1
- Assign
- Identifier limit
- Integer 100
- While
- Less
- Identifier n
- Identifier limit
- Sequence
- Sequence
- Sequence
- Sequence
- Sequence
- ;
- Assign
- Identifier k
- Integer 3
- Assign
- Identifier p
- Integer 1
- Assign
- Identifier n
- Add
- Identifier n
- Integer 2
- While
- And
- LessEqual
- Multiply
- Identifier k
- Identifier k
- Identifier n
- Identifier p
- Sequence
- Sequence
- ;
- Assign
- Identifier p
- NotEqual
- Multiply
- Divide
- Identifier n
- Identifier k
- Identifier k
- Identifier n
- Assign
- Identifier k
- Add
- Identifier k
- Integer 2
- If
- Identifier p
- If
- Sequence
- Sequence
- ;
- Sequence
- Sequence
- ;
- Prti
- Identifier n
- ;
- Prts
- String " is prime\n"
- ;
- Assign
- Identifier count
- Add
- Identifier count
- Integer 1
- ;
- Sequence
- Sequence
- Sequence
- ;
- Prts
- String "Total primes found: "
- ;
- Prti
- Identifier count
- ;
- Prts
- String "\n"
- ;
|