sim-c
sim-c copied to clipboard
[BUG REPORT] Power function not working when used inside parenthesis.
//If a metal cube of side 3m is melted to make small balls, find the number of balls formed if each ball has a radius of 1.5cm
MAIN
var vol1 = 3**3
var vol2 = 4/3 * PI * ((1.5/1000)**3)
var number_of_balls = vol1/vol2
print("The number of balls formed are: {number_of_balls}")
END_MAIN
@Math-O5 @Aayush-99
Can I work on this? @frankhart2018
Sure assigning this to you @Chasmiccoder.
Would like to work on this issue.