Problem 3) Let 1 be a line in the xy plane. If l is a vertical line, its equation is x=a for some real number a. Suppose I is not a vertical line and its slope is m. Then the equation of l is y=mx+b, where b is the y-intercept. If 1 passes through the point (x0,y0), the equation of 1 can be written as yy0=m(xx0). If (x1,y1) and (x2,y2) are two points in the xy plane and x1=x2, the slope of the line passing through these points is m=(y2y1)/(x2x1).

Write a program that prompts the user for two points in the xy plane. The program should output the equation of the line and use if statements to determine and output whether the line is vertical, horizontal, increasing, or decreasing. If 1 is a non-vertical line, output its equation in the form y=mx+b.

Problem 4) Write a program that prompts the user to enter two integers. The program should output how many numbers are multiples of 3 and how many numbers are multiples of 5 between the two integers (inclusive).

Sample Output:

Enter two integers: 5 50

Multiples of 3 between 5 and 50: 15

Multiples of 5 between 5 and 50: 10