Computer Application Examination: (Email ID:)
Computer Application Examination: (Email ID:)
2. Write a program using a class with the following specifications: Data Members Purpose
Class name: Caseconvert
String str To store the string
Member Methods Purpose
3. Write a program using a function called area() to compute area of the following:
(a) Area of circle = (22/7) * r * r
(b) Area of square= side * side
(c) Area of rectangle = length * breadth
Display the menu to display the area as per the user's choice.
4. Write a program in Java to accept 20 numbers in a single dimensional array arr[20]. Transfer and store
all the even numbers in an array even[ ] and all the odd numbers in another array odd[ ]. Finally, print
the elements of both the arrays.
Page 1 of 1