Q:

Define a class Student with the following specification: private members:

roll_nointeger
name20 characters
class8 characters
marks[5]integer
percentagefloat

Calculate() function that calculates overall percentage of marks and returns the percentage of marks.

public members:

Readmarks() a function that reads marks and invokes the calculate functio Displaymarks() a function that prints the marks.

CLASSES

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.