twoobjects


Submit solution

Points: 10
Time limit: 3.0s
Memory limit: 12M

Author:
Problem type
Allowed languages
C++

TASK

Given a class named 'Student' with a string variables name, address and an integer variable roll number, get from the user and print the name, roll number, and address of the student by creating an object of the class 'Student'.

Sample Input

ram

123

Tamilnadu

Sample Output:

ram 123 Tamilnadu


Comments

There are no comments at the moment.