Skip to content

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

@Kamal4126

Description

@Kamal4126
//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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeasyEasy problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions