Need I remind you of your first post?

Quote Originally Posted by rickajoie View Post
I have trouble doing this.
I try making it but it wont work.
This is in while loop.

1. Write a C program that converts gallons to liters. The program should display gallons from 10 to 20 in 1-gallon increments and the corresponding liter equivalents. Use the relationship that 1 gallon contains 3.785 liters.

2. Write a C program that converts feet to meters. The program should display feet from 3 to 30 in 1-foot increments and the corresponding meter equivalents. Use the relationship that 1 meter equivalent to 3.728 feet.

please help me...im still a newbie...and still new to this...
you didn't offer up any code that you had already written. consequently, there was no way to know on what line(s) you were having trouble. you simply said "Write a C program..." In my book, that constitutes asking to have it done for you, and apparently abachler agrees. We want to see YOUR code, and see where YOU are having problems. If you point out the area of YOUR code that is giving you trouble, we will be more than happy to assist you, as long as you ask smart questions. please click on the link and read the article.