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.

0
I'm new to programming and taking a course on java, however our online homework service, codelab, gave us a problem in C++ and our professor doesn't know the solution. I hate to do this, but could someone help me out or guide me to resources that will help?
Post Body

The problem is as follows: (Find numbers divisible by 5 or 6, but not both) Write a program that displays all the numbers from 100 to 200, ten per line, that are divisible by 5 or 6, but not both. Place each number on its own line.

Like I said, I don't know C but if someone would be willing to guide me to a solution or to a place where I could quickly learn enough of the basics to complete this problem, I'd greatly appreciate it. Thanks!

(Also, I'm not full of shit and just trying to get my homework done, I originally made this thread in /r/javahelp earlier this week asking for help before I heard back from my professor that this was in C .)

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
24,864
Link Karma
2,155
Comment Karma
22,709
Profile updated: 5 days ago
Posts updated: 10 months 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
10 years ago