Thread: Quick help

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    Question Quick help

    Write a program that displays the following temperature conversion chart on the screen.

    (Hint: cel= 5.0/9.0*(fah-32) ; where cel= degrees in Celcius and fah is degrees in Fahrenheit)
    Fahrenheit Celcius
    ************************
    0 -17.68
    1 -6.67
    2 4.44
    … …
    … …
    250 121.11

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Here's an idea: Do it yourself.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    -bleh-
    Join Date
    Aug 2010
    Location
    somewhere in this universe
    Posts
    463
    Here's my attempt at it:

    Code:
    #include <stdio.h>
    
    int main(void)
    {
        printf("Whoopie Doodle. We don't care.");
        return 0; 
    }

  4. #4
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    Code:
        printf("Whoopie Doodle. So do we!.");

  5. #5
    Registered User g8ortech14's Avatar
    Join Date
    Oct 2007
    Location
    Orlando FL
    Posts
    22
    Quote Originally Posted by chadwick View Post
    Write a program that displays the following temperature conversion chart on the screen.

    (Hint: cel= 5.0/9.0*(fah-32) ; where cel= degrees in Celcius and fah is degrees in Fahrenheit)
    Fahrenheit Celcius
    ************************
    0 -17.68
    1 -6.67
    2 4.44
    … …
    … …
    250 121.11
    This must be one of those students that signs up for the message board expecting everyone else to do his home work. HAHAHAHAHHAAHHA good luck with that.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Zero effort - closed.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strcmp returning 1...
    By Axel in forum C Programming
    Replies: 12
    Last Post: 09-08-2006, 07:48 PM
  2. Do you know...
    By davejigsaw in forum C++ Programming
    Replies: 1
    Last Post: 05-10-2005, 10:33 AM
  3. recursive quick sort - stack overflow
    By Micko in forum C Programming
    Replies: 9
    Last Post: 01-01-2005, 05:51 PM
  4. Questions on basic Quick Sort
    By Weng in forum C++ Programming
    Replies: 4
    Last Post: 12-16-2003, 10:06 AM
  5. Replies: 0
    Last Post: 04-30-2002, 07:24 PM