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

s1_absolute_value #6

Open
3-23 opened this issue Oct 19, 2020 · 0 comments
Open

s1_absolute_value #6

3-23 opened this issue Oct 19, 2020 · 0 comments

Comments

@3-23
Copy link

3-23 commented Oct 19, 2020

Describe the bug

The program compile but said that i have an error in the code . But my code is right i didn't find any error.

To Reproduce

Steps to reproduce the behavior:

if (i>=0){
return i ;
}
else{
return -i ;
}

The answer of the system was :

There are errors in your answer. Your mark is 0.0%. [Submission # 5f8d65a1fb18016d7de701b7]

Expected behavior

I expert the system to validate my code

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