1. Write a C program to calculate and display the value of the slope of the line connecting the two points whose coordinates are (x1, y1) and (x2, y2). (Handle all cases properly) [20]

  2. A man drives a car at a speed s1(in m/s) for t1 seconds and then at speed s2 for t2 seconds. Write a C program to input the values and print the average speed of the car. [20]

  3. Write a program to input a number N and express it of the form N=5x+y such that y<5. For eg: 13 = 5*2 + 3. Your program should print in the form: N = (x, y) after nding the values of x and y. [20]



Print your answers correct to 3 decimal places.