Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n.
Example:
n = 10
--> mpn = 7
11 months ago
Solved
Calculate area of sector
A=function(r,seta)
r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...