DartTutorial
DartTutorial copied to clipboard
Return Type issue
I found my interest in this repo so I just download it and open it into VSCode and found some error like
e.i. in 17_default_parameters has a function
int findVolume(int length, {int breadth = 2, int height = 20}) {
print("Lenght is $length");
print("Breadth is $breadth");
print("Height is $height");
print("Volume is ${length * breadth * height}"); } this function doesn't return an integer value although the type is int. Correct me If I did any mistake from my side.
Thank You