![]() |
|
#1
|
|||
|
|||
I'm stuck in a problem.... plzzzzzz helpHey, I have to do a homework and it's due for Sunday 04.11
I do them all but I'm stuck in only one. I'm gonna write you the whole "programming exercise" in here. ( Write a program that converts a temperature from degrees Fahrenheit to degrees centigrade. The formula for converting the temperature from degrees Fahrenheit to degrees centigrade is C = (5/9) (F - 32) Your program should prompt the user to enter a temperature given in degrees Fahrenheit. The program should output the temperature both in degrees Fahrenheit and degrees centigrade.) waitin for ur replies. |
|||
|
#2
|
|||
|
|||
Re: I'm stuck in a problem.... plzzzzzz helpWhats the problem ?
cin and cout for input and output to screen, use double or float for most values so you don't lose accuracy |
|
#3
|
||||
|
||||
Re: I'm stuck in a problem.... plzzzzzz helpTry reading the Guidelines, esp #1,2,5...
__________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
|
#4
|
|||
|
|||
Re: I'm stuck in a problem.... plzzzzzz helpWell its you lucky day. I have this already made as i was also assigned it.
CPP / C++ / C Code:
|
|
#5
|
||||
|
||||
Re: I'm stuck in a problem.... plzzzzzz helpOh boy! Another ready-made piece of code so the student doesn't have to know how to program! Good job!
__________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
|
#6
|
|||
|
|||
Re: I'm stuck in a problem.... plzzzzzz helpQuote:
But the beauty of it is that when OP presents doom's code, the "typos" will be a part of it! duse to an invilad (due to an invalid) contiue (continue) temprature (temperature) fahrenheit (when used as output to the user, should be capitalized) ...of course, all the OP had to do was search the forums for Fahrenheit and the code would have been found easily. http://www.gidforums.com/t-9536.html ...besides, all of that "code" that doom posted seems rather like overkill to me considering the OP's assignment: CPP / C++ / C Code:
Output: Code:
...and, I don't think that it is such a bad thing to get someone going with a bit of example code that solves the problem. Sometimes newbies are stuck on the very basics and a bit of help will get them going. :davis: |
|
#7
|
|||
|
|||
Re: I'm stuck in a problem.... plzzzzzz helpQuote:
THANKS A LOT, u r such a brilliant |
|
#8
|
||||
|
||||
Re: I'm stuck in a problem.... plzzzzzz helpQuote:
__________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
|
#9
|
|||
|
|||
Re: I'm stuck in a problem.... plzzzzzz helpQuote:
...and you might win that bet. So what? Will your actions prevent ethics violations? Surely not. Besides, the "promise of reuse" has been "fulfilled" in some obscure way in such cases! :davis: |
|
#10
|
||||
|
||||
Re: I'm stuck in a problem.... plzzzzzz helpQuote:
__________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphic problem in Unreal Tournament 2004 | zerox | Computer Software Forum - Games | 10 | 09-Oct-2005 13:31 |
| Runtime Problem involving "printf" in C Program | supamakia | C Programming Language | 2 | 09-Oct-2005 11:09 |
| a significant problem after installing Xp | mohammad | Computer Software Forum - Windows | 10 | 09-Aug-2005 08:03 |
| commands out of sync problem (c++ builder) | Largowww | MS Visual C++ / MFC Forum | 0 | 28-May-2005 04:40 |
| Another FX 5600 problem (but with details that might shed light on this) | BobDaDuck | Computer Hardware Forum | 2 | 16-Apr-2004 08:53 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The