Unsure of my algorithmI am very new to the programming world i was given an assignment and i've attempted the question but...