- 3

class Calc { char Grade; int Bonus; public: Calc() {Grade=’E’; Bonus=0; } void Down ( int G ) { Grade - = G; } void Up (

31st Oct 2017, 2:21 PM
pankaj kumar
3 odpowiedzi
+ 5
do you need help with that code? Why are you posting this?
31st Oct 2017, 3:31 PM
Kamil
Kamil - avatar
0
class Calc { char Grade; int Bonus; public: Calc() {Grade=’E’;Bonus=0;} void Down(int G) { Grade–=G; } Void Up(int G) { Grade+=G; Bonus++; } void Show() { cout<<Grade<<”#”<<Bonus<<end1; } }; void main() { Calc c; C.Down(2); C.Show(); } please tell me something about this question
23rd Sep 2023, 7:22 AM
Divyansh Marwal
- 1
public calc() answer-void
30th Apr 2022, 8:33 AM
MAREESWARAN S
MAREESWARAN S - avatar