Here's a Internet trick that when viral a bit ago. It must be true it was on the internet, I did update it for this year, 2018:
Take your shoe
size.
Mutliple by 5.
Add
50.
Multiple by 40.
Divide
by 2.
Add
1018.
Subtract your birth year.
Answer
= your shoe size and your age (first digit(s) shoe size, last 2
age)
Write an algorithm, using the above as your guide. Use answer as an accumulator, shoeSize as a variable and birthYear as a variable.
This is worth 10 points.
Algorithm:
START input(shoeSize) input(birthYear) answer = 0 answer = shoeSize * 5 answer = answer + 50 answer = answer * 40 answer = answer / 2 answer = answer + 1018 answer = answer - birthYear print(answer) END
Screenshot:
Kindly rate the answer and for any help just drop a comment
Get Answers For Free
Most questions answered within 1 hours.