السلام عليكم
الرجاء مساعدتي لحل هذه البرامج في لغه السي واسفه لاني كتبتها بالانجليزي لاني لااعرف ترجمتها بالضبط :oوانا اريدها الجمعه ضروري
1)-write a c program to convert an angle expressed in degrees,minutes,and seconds to one expressed in decimal degrees.use three scanf() statement to read in the degrees,minutes,and seconds.each scanf() statement should be preceded by a call to a printf() statement which includs a prompt for the item.
2)_the distance between two points (x1,y1) and (x2,y2) is given by
dist=(x1-x2)^2+(y1-y2)^2
write a program that use scanf() to read in the coordinates if four points(x1,y1),(x2,y2),(x3,y3)and(x4,y4) .calculate and print the distance between point 1and2,1and 3,1and4,2and3,2and4,and3 and4.the output shuld be in the form of a table showing the coordinates of the two points and distance between the points with appropriate headings.
3)-writea program that inputs a five digit number,separates the number into its individual digits and prints the digits separated from one another by three spaces each.for example ,if the user types in 42339the program should print
4 2 3 3 9
4)-write a program that inputs three different integers from the keyboard,and then prints the sum,the average,the product,the smallest,and the largest of these number.use only the single selection form of the if statement.the screen dialogue should appear as follows
5)-write a program that reads in the radius of a circle and prints the circles diameter ,circumference,and area.use the constant value 3.14 foe "pi".do each of these calculations inside the printf statement and use the conversion specifier %f.
وشكرا