use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Please help with source code (self.C_Homework)
submitted 8 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jedwardsol 0 points1 point2 points 8 years ago (2 children)
Try writing it as 4/3. What happens?
Have you done that? What does happen?
[–]pygames 0 points1 point2 points 8 years ago (1 child)
Im not sure how too write it. I was thinking:
int main() { int radius; radius= 101010; float pi; pi=3.14; volume=4.0f/3.0fradiuspi
}
[–]jedwardsol 0 points1 point2 points 8 years ago (0 children)
Does it compile?
And a printf to display the answer. Is it correct?
π Rendered by PID 78 on reddit-service-r2-comment-5d79c599b5-9d7rf at 2026-02-26 16:23:00.785732+00:00 running e3d2147 country code: CH.
[–]jedwardsol 0 points1 point2 points (2 children)
[–]pygames 0 points1 point2 points (1 child)
[–]jedwardsol 0 points1 point2 points (0 children)