With the help of the term "class and object", develop a C++ program that finds the average of each row in a 2D (3*4) array of integers. Each average value should be assigned as an initial value for a private variable. Thereafter, you need to find the factorial of each of these class private variables.
ممكن حل؟
ممكن حل
Write a C++ code that can find the average of 10 students in the main program. The
code should use the "array" to store each student's grades, the "structure" to hold the
students' information, and then use the user defined function to determine whether the
obtained average is prime number or not for each student.