Computer Science, asked by zarinaparween1234567, 8 months ago

A student's school is at a distance of 5 km 350m from her house. she Travels 170m on foot. The Rest by bus .write a program to determine how much distance she Travels by bus.(hint: use constant 1km=1000 meters).


plz help me .....


definitely I will make you brainiest....​

Answers

Answered by AmanBanga
1
See take 2 constants
Ask for input from the user
a- distance from school in metres
b- distance travelled on foot in metres
c= a minus b
You will get your answer
Similar questions