0
Calculate the value of a cube with value "l"
14 Respostas
+ 1
proceed as follows:
1. create two variables n, L.
2. If the user enters the value n, write a value input statement and convert this value immediately to a number.
3. Write your formula L = n**3 at the next line
4. using the output operator, output the result to the screen
+ 2
Hi! No, show your attempt please, first. don't be lazy. And yes, what is the formula for calculating the cube?
+ 1
Can anyone tell the code for this ??
+ 1
explain what n and "I" are?
+ 1
so how does the variable fit with the value in your formula?
+ 1
Maybe. n will be known, and L must be calculated? do I understand correctly?
+ 1
Ok thank you sir
0
n**3
0
n is the variable and I is its value
0
Value is variable L
0
n**3=L
0
So will it be this only ?
0
Am I right ?
0
Yes we have to input n