22. Write an object-oriented program to read student’s name and his average marks. If a student gets less than 40 then declare that he has failed or else he passed. Prepare a computer list to give the...




22. Write an object-oriented program to read student’s name and his average marks. If a student gets less than 40 then declare that he has failed or else he passed. Prepare a computer list to give the list of names in alphabetical order separately for passed and failed students.


23. Write an object-oriented program to perform trigonometric operations on the complex numbers.


24. Write an object-oriented program to read a set of lines from stdin and store them in an array A; again read a string S from the stdin and check whether the given string S is in the array A. If it is so, print that line and also how many times it repeats in the array A.






May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here