Question: Procedures

Can anyone help me with the following two:
 

1) Can you write a procedure showCol which uses the for var in list do...od construction to print the elements of a list in a column.
         
     showCol([a,b,c]);
  
2) Write a procedure primeCol which print the primes between given integers m and n in a column.

Thanks.

 

Please Wait...