C# C# Streams and Data Processing Parsing Data Review

Alec Meyer
Alec Meyer
6,301 Points

Not sure why this isn't correct.

int x = 4;
int y = 6;
return (double) x / y;    /* 0.6666666666666663 */

That sure looks like a floating point number to me.

1 Answer

Steven Parker
Steven Parker
171,047 Points

Assuming the comment was not part of your answer, I think the challenge doesn't like the space between the cast and the variable name. Try it without and I'll bet it gets judged as correct.

Since this isn't a syntax restriction, you might want to submit a bug report to the Support folks.

Alec Meyer
Alec Meyer
6,301 Points

You're right. It was the space, I'll go ahead and submit the bug report.

Thanks again!