![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 19.02.2020 16:55, bailee37
A driving school uses this rule to estimate how many lessons a learner will require.
- Every learner requires at least 20 lessons
- learners over the age of 18 require more lessons (two additional lessons for each year over 18)
Create an algorithm expressed in pseudo-code that inputs a learner's age and calculates the number of driving lessons they will need.
So far, this is what I've come up with:
RECEIVE age FROM KEYBOARD
SET lessons TO 20 + (2 * (age – 18))
IF age >= 18 THEN
SEND lessons TO DISPLAY
ELSE
SEND ‘You’re not old enough. Come back later.’ TO DISPLAY
END IF
but I'm not sure if I've done it correctly or used the operators correctly.
![answer](/tpl/images/cats/otvet.png)
Answers: 2
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:30, buky0910p6db44
Corey set up his presentation for delivery to his team. the information he had to convey was critical to their job performance. he knew he would need a lot of time to explain each point
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:20, tagerryawilson6
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 03:30, ilovewaffles70
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
Do you know the correct answer?
A driving school uses this rule to estimate how many lessons a learner will require.
- Every...
- Every...
Questions in other subjects:
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 01.07.2019 14:00
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 01.07.2019 14:00
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 01.07.2019 14:00