- 1
why not working
https://www.sololearn.com/compiler-playground/chxA5X3AGz4T in this code i wanted to write something diffrent. Why it didn't work? And also what's that .o thing
2 Réponses
+ 1
That code works as expected.
You have to give 2 inputs like(5 4)
then the output will be 20
that `o` thing is called class name it can be whatever you want
you can even change that
TV o(x,y);
o.area();
TO
TV myTv(x, y);
myTv.area();
0
the link does not work :(