You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: