Search Results

Showing results 1 to 5 of 5
Search took 0.02 seconds.
Search: Posts Made By: tippytoe
Forum: C Apr 30th, 2006
Replies: 1
Views: 2,657
Posted By tippytoe
Hi - The assignment is to write a C program that prompts the user to enter a line of text up to 69 chars, then convert the text to upper and lower case. The program is required to use pointer...
Forum: C Oct 17th, 2005
Replies: 7
Views: 1,973
Posted By tippytoe
[/I]

!I understand what you are saying however the instructor was clear that he wanted us to use the fflush statement after every scanf statement in this program. If I remove it I will lose...
Forum: C Oct 17th, 2005
Replies: 7
Views: 1,973
Posted By tippytoe
Nevermind about my follow up question regarding decimal places. I have figured it out! Thanks so much for the help.....:-)
Forum: C Oct 17th, 2005
Replies: 7
Views: 1,973
Posted By tippytoe
[QUOTE=Dave Sinkula]This is not a valid format specifier:scanf ("%.2f", &number_gallons);Just use %f.

Thanks so much for the help! I set it to be just %f and it worked. EXCEPT, my instructors'...
Forum: C Oct 16th, 2005
Replies: 7
Views: 1,973
Posted By tippytoe
I only get a result of "1.00" for each mileage calc and also for the overall average, regardless of numbers input. Can anyone see where the problem(s) is in my program below? Thanks in advance!

...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC