draw a flowchart that accept a number and display cube
Answers
Answered by
0
Key points to keep in mind :
Declare the variable of 'a' to get the user input.
Get the user input value 'a'.
Check whether the given 'a' value is a valid number.
Calculate the cube for the given value of 'a'.
Print the cube value.
Attachments:
Answered by
0
Answer:
Doing it through python.....
n = int(input(''Enter your number.\n''))
print(x**3)
Similar questions