| | |
Can anyone help me with my c language homework please?
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Dec 2006
Posts: 2
Reputation:
Solved Threads: 0
Here it goes:
1. Write a C program to calculate the value of x for
the given formula of quadratic equation.
2. Write a C program to calculate the petroleum
consumption. It should assign the distance travelled
in km. and the amount of petroleum used in litres and
compute the consumption in km/litre. Write the pogram
so that the output would look like this:
distance litres used km/litre
____________ ___________ __________
____________ ___________ __________
____________ ___________ __________
3. A sequence of 5 temperature readings from the user
is read . Write a C program that would convert the
temperature readings from degree Celsius to Farenheit
and will get the average from both readings.
Thanks!
1. Write a C program to calculate the value of x for
the given formula of quadratic equation.
2. Write a C program to calculate the petroleum
consumption. It should assign the distance travelled
in km. and the amount of petroleum used in litres and
compute the consumption in km/litre. Write the pogram
so that the output would look like this:
distance litres used km/litre
____________ ___________ __________
____________ ___________ __________
____________ ___________ __________
3. A sequence of 5 temperature readings from the user
is read . Write a C program that would convert the
temperature readings from degree Celsius to Farenheit
and will get the average from both readings.
Thanks!
Last edited by p_p_g_1_6; Dec 20th, 2006 at 1:27 pm.
Please read forum announcements
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- Need help with Computer Science homework (Computer Science)
- Little bit of Homework Help would be greatly appreciated (C++)
- [plz] explain this code in very simple language (Visual Basic 4 / 5 / 6)
Other Threads in the C Forum
- Previous Thread: need help, need to generate 10 random numbers, such that their sum is less than 1
- Next Thread: Changing textcolor
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush fgets file fork forloop framework frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o incrementoperators kernel kilometer km linked linkedlist linux linuxsegmentationfault list lists locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue multi mysql number odf open opensource openwebfoundation owf pattern pdf performance pointer pointers posix probleminc process program programming pyramidusingturboccodes read recursion recv repetition research scanf scheduling scripting segmentationfault send shape socket socketprograming stack standard string strings systemcall testautomation unix user voidmain() wab win32api windows.h






