A driving school uses this rule to estimate how many lessons a learner will require.
- Every...
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.
Answers: 2
Computers and Technology, 21.06.2019 22:30
Provide an example of a project that combines the three principles of lean six sigma with business project management (bpm) and services oriented architecture (soa). identify the elements of the project that comply with each of three principles.
Answers: 1
Computers and Technology, 22.06.2019 11:00
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
Mathematics, 27.06.2020 03:01
Social Studies, 27.06.2020 03:01
Mathematics, 27.06.2020 03:01
Mathematics, 27.06.2020 03:01
Computers and Technology, 27.06.2020 03:01