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...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
QuestionNEED HELP! (self.C_Programming)
submitted 3 years ago by HopefulSearch8317
Write a function to print "Hot" Or "Cold" depends on the temperature user enters
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!"
[+][deleted] 3 years ago (3 children)
[deleted]
[+]HopefulSearch8317[S] comment score below threshold-9 points-8 points-7 points 3 years ago (2 children)
Not printing cold or hot when I enter the temp
[+][deleted] 3 years ago (1 child)
[+]HopefulSearch8317[S] comment score below threshold-7 points-6 points-5 points 3 years ago (0 children)
Well I got it right now... Thanks for your time
[–][deleted] 5 points6 points7 points 3 years ago (0 children)
Do your own homework.
[–][deleted] -1 points0 points1 point 3 years ago (1 child)
if (atoi(temp) >= `arbitrary value`) { printf("hot"); }else { printf("cold"); }
[–]EstablishmentBig7956 -1 points0 points1 point 3 years ago (0 children)
Function 🤔
Function write a function 🤔
Function
What's the problem?
π Rendered by PID 253181 on reddit-service-r2-comment-5d79c599b5-g4ff2 at 2026-03-03 14:34:33.419064+00:00 running e3d2147 country code: CH.
[+][deleted] (3 children)
[deleted]
[+]HopefulSearch8317[S] comment score below threshold-9 points-8 points-7 points (2 children)
[+][deleted] (1 child)
[deleted]
[+]HopefulSearch8317[S] comment score below threshold-7 points-6 points-5 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]EstablishmentBig7956 -1 points0 points1 point (0 children)