cimplec / sim-c

A dynamically typed high-level front end for C

Home Page:https://cimplec.github.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG REPORT] Power function not working when used inside parenthesis.

Kamal4126 opened this issue · comments

//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.