Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return Type issue #8

Open
AndragApps opened this issue Aug 21, 2021 · 0 comments
Open

Return Type issue #8

AndragApps opened this issue Aug 21, 2021 · 0 comments

Comments

@AndragApps
Copy link

AndragApps commented Aug 21, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant