+ 1
#help Calculate 3 or more cube volume using 'function'
how to calculate total from 3 volume of cube using function, but without declaring parameter (arguments) ex: cube 1 = 3*3*3 //27 cube 2 = 6*6*6 //216 cube 3= 2*2*2 //8 total is = 251 can someone give me an code or algorithm ?
2 Réponses
+ 2
It's a*a*a+b*b*b+c*c*c.
0
Does this help?
https://code.sololearn.com/cp98D8q6qfDg/?ref=app