Saved Bookmarks
| 1. |
Write a program which declares functions given below to calculate the area of different geometrical figures as per the prototype given below: 1. public void area_rect(int, int)// calculates and prints the area of a rectangle. 2. public int area_square(int)// calculates and returns the area of a square to a calling module. 3. public static void area_circ(int, double)// calculates and prints the area of a circle. 4. main(): calls all the above functions and displays result with appropriate messages |
|
Answer» ong>EXPLANATION: FIND the VALUE of m so that the QUADRATIC equation px^2 + (p – 1) x +(p – 1) = 0 has equal roots. |
|