0

Calculate the value of a cube with value "l"

29th Apr 2021, 7:37 AM
Pranjal Mane
Pranjal Mane - avatar
14 Answers
+ 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
29th Apr 2021, 7:55 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
Hi! No, show your attempt please, first. don't be lazy. And yes, what is the formula for calculating the cube?
29th Apr 2021, 7:40 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Can anyone tell the code for this ??
29th Apr 2021, 7:38 AM
Pranjal Mane
Pranjal Mane - avatar
+ 1
explain what n and "I" are?
29th Apr 2021, 7:43 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
so how does the variable fit with the value in your formula?
29th Apr 2021, 7:45 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Maybe. n will be known, and L must be calculated? do I understand correctly?
29th Apr 2021, 7:51 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Ok thank you sir
29th Apr 2021, 8:01 AM
Pranjal Mane
Pranjal Mane - avatar
0
n**3
29th Apr 2021, 7:41 AM
Pranjal Mane
Pranjal Mane - avatar
0
n is the variable and I is its value
29th Apr 2021, 7:43 AM
Pranjal Mane
Pranjal Mane - avatar
0
Value is variable L
29th Apr 2021, 7:45 AM
Pranjal Mane
Pranjal Mane - avatar
0
n**3=L
29th Apr 2021, 7:45 AM
Pranjal Mane
Pranjal Mane - avatar
0
So will it be this only ?
29th Apr 2021, 7:46 AM
Pranjal Mane
Pranjal Mane - avatar
0
Am I right ?
29th Apr 2021, 7:46 AM
Pranjal Mane
Pranjal Mane - avatar
0
Yes we have to input n
29th Apr 2021, 7:52 AM
Pranjal Mane
Pranjal Mane - avatar