For each of the following tasks im not sure if i should use a function or a procedure,help please
1.converting a given number of miles to an equivalent number of kilometres
2.converting a given number of centimetres to feet and inches
3.displaying the names of the best male and female athletes in a race,given a ListBox containing the names and times of all the athletes.
4.computing the nett income given the gross income and the deductions from income.
5.computing a car's kilometres per litre,given the kilometres travelled and the number of litres of petrol consumed.