#include<iostream> using namespace std; class Human() { int c1; public: Human(int num) { c1=num; } void print() { cout<<c1<<endl; } }; int main() { Human a(40); a.print(); return 0; }