Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

14
Valid function?
Post Body

I'm working on a programming assignment for my computational structures course, and before I ask the professor if he made a typo or if I'm just dumber than dirt, I want to ask for opinions.

The programming assignment asks for an input of a number of ordered pairs, x and y. As a way to test, he provides a list of inputs and expected outputs.

One input has two pairs, f(1) = 5 and f(6) = 4. I would expect this to be a valid function, no x value has two y values. But his expected output states that this is not a valid function.

Why is this?

Author
User Disabled
Account Strength
0%
Disabled 1 year ago
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
688
Link Karma
505
Comment Karma
183
Profile updated: 1 month ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago