Home Forums C Programming Object Oriented Programming Question Reply To: Object Oriented Programming Question

#3142
msaqib
Participant

Hello, you have done the following things wrong:
in the function definition ; is not allowed void rational::printrationald() also you will need to correct the variable name denominator I hope now your problem will be solved.