1. Write a program that accepts the time taken as hours, minutes and seconds as 3 integers and prints the total number of seconds.
2. Write a program to accept the fi le size in MB (megabytes) and the download speed in Mbps (megabits/sec) and calculate the time in seconds that would be spent to download the fi le. (Note it’s megabytes and megabits.)
3. Using the formula area = (base X height) / 2, write a program that accepts the base and height of a triangle as integers and prints the area as a real number. (Use of the multiplier 1.0 is not permitted.)