ContentAdministrator1
109 views
9 slides
Oct 14, 2020
Slide 1 of 9
1
2
3
4
5
6
7
8
9
About This Presentation
Writing algorithms
Size: 107.99 KB
Language: en
Added: Oct 14, 2020
Slides: 9 pages
Slide Content
PRACTICE
Algorithms
Selection/Conditional (IF)
Selection/Conditional (IF) (Try Out)
Write an algorithm to determine if a student has
pass or fail the examination if the pass mark was
55.
For Loop
For Loop (Try out)
Write an algorithm to read the name and price of ten
(10) items. Print a price list showing the ten items.
While Loop
While Loop (Try Out)
Write an algorithm to prompt the user to input a
number of numbers. It should continue to prompt
the user until zero is entered. Print each number
entered.
Repeat Loop
Repeat Loop (Try Out)
Write an algorithm to prompt the user to input a
number of numbers. It should continue to prompt
the user until zero is entered. Print each number
entered.