All Smarts university offers various undergraduate courses. Every student in the university has a unique registration number. To be eligible for graduation, a student 1. has to register for at least five subjects to be eligible for graduation. 2. has to score 50 or more for each subject A student can register for a maximum of 8 courses. The university issues a grade report to every student when they graduate. Identify the objects involved in the scenario. Write a program to generate the grade report for students. 所有斯马茨大学提供各种本科课程。大学生中的每一个都有一个唯一的注册号码。 要毕业的学生有资格 1。要至少5科注册成为毕业资格。 2。有50个或更多的得分为每个主题 学生可报名参加8课程最多。 该大学一年级的问题报告,每个学生毕业时。确定对象参与的情况。写一个程序来生成对学生的成绩单。 2. There is a supermarket nearby that sells various products. They sell a wide range of products. Write a program to generate a bill for a purchase made. 附近有一家超市销售的各种产品。他们销售的产品范围广泛。写一个程序来生成一个购买了一项法案。
oop学习例子
最新推荐文章于 2021-11-28 15:36:51 发布