I have just enrolled to a computer sciencee class, and my teacher gave us an assignement about writing a pseudo code, but it's my first time being in computer science class and i don;t have any experience in computer science. Can someone help me?
here is the problem:
You and your friend decided to go to the beach. You have left home one hour earlier than your friend did. Assuming the traffic is normal and you drive 60m/hrs and your friends drives 70m/h. how long will it take your friend to catch up before getting to the beach.
here is the equation
S2*t=s1*(t+h)
s1= your speed
s2= friend speed
h is the hour
if you had to stop for 1/2 hour for food and to put gas in your car. then how long will it take to meet ?
I need to write this in pseudo code