student
stdno:int
nogen:staticint//student number generator
name:string
balance: double
counter:staticint
student ( ) //default constructor
student ( string, double) //parameterized constructor
student (conststudent &) //copy constructor
~student( )
getstdNo( ):intconst
getName( ): stringconst
getBalance( ): doubleconst
getNoGen( ): staticint
getCounter( ): staticint
withdraw( double ):void //balance should be updated
deposit( double): void //balance should be updated
printStdInfo( ): void//printsstdno, name and balance
Consider the instructions provided below and createstudent.h
Use “this” pointer in the entire class.
FirstMain(): main function should include the following:
SecondMain(): Write separate main that will perform the following tasks:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here