Pseudo-code coding: Exercise #10 → Edition
Statement #10: The program must read words until it finds the word "stop", provided that the word "attention" occurs at least 1 time in the list. Report the positions of the first and last "attention" words read in the list.
Compose and insert the variables you need

DASHBOARD

SHOE

Elementary instructions

Constants

True
False

Mathematical operators

Boolean operators

AND
OR
NOT

Comparators and parentheses

(
)

Control structures

IF
THEN
ELSE
END IF
REPEAT
UNTIL
WHILE
DO
END WHILE
FOR
DO
END FOR



Pseudo-code coding: Exercise #10 → Execution
Statement #10: The program must read words until it finds the word "stop", provided that the word "attention" occurs at least 1 time in the list. Report the positions of the first and last "attention" words read in the list.
  Workspace →

Dashboard

Test result...

Test result...


© Rupert Meurice de Dormale 2024 (update of the 1995 version)

All rights reserved. Copying in whole or in part prohibited without written permission of the author.

adresse