two points in plane are specified using the coordinates ( , and ( , write program that calculates the slope of line through two (non-verticalpoints entered by the user slope write program that accepts two points (see previous problemand determines the distance between them distance ( ) ( ) the gregorian epact is the number of days between january st and the previous new moon this value is used to figure out the date of easter it is calculated by these formulas (using int arithmetic) year// epact ( ( // (( )// (year% ))% write program that prompts the user for -digit year and then outputs the value of the epact write program to calculate the area of triangle given the length of its three sides aband using these formulasa+ + aq ( )( )( write program to determine the length of ladder required to reach given height when leaned against house the height and angle of the ladder are given as inputs to compute length use height length sin angle notethe angle must be in radians prompt for an angle in degrees and use this formula to convertp degrees radians write program to find the sum of the first natural numberswhere the value of is provided by the user write program to find the sum of the cubes of the first natural numbers where the value of is provided by the user write program to sum series of numbers entered by the user the program should first prompt the user for how many numbers are to be summed it should then input each of the numbers and print total sum