Thanks yall for the help. I'm still here....Keep posting and I'll get back to the program tomorrow.
Type: Posts; User: aprilbiz
Thanks yall for the help. I'm still here....Keep posting and I'll get back to the program tomorrow.
This is what I have that is taking in the gallons (decimal) and miles (integer). I can't figure out how to get it to average after the first set of prompts (enter gallons...enter miles... average...
oopps
I've just been at this for 5 weeks or less, and I've had to split my study time between 2 other classes, so I don't know too much. Send me an email at [email protected] if you'd like to share any...
I understand the "you do the rest" but if you don't know what you're doing, it's kind of hard to do the rest... I was kind of hoping someone would give me hints as to what was wrong with the code I...
Well since you asked..... *grinning from ear to ear*
I've got to create an inventory program with three parts. Part one is to update 10 inventory items. Part two is for recording each sale, but...
I just ran it in the compiler and got these messages:
ld:
Unresolved:
prompt_gallons
prompt_miles
prompt_done
average
Right away Sarge!:)
You can help me with my inventory program if you're really bored.:)
I can't use arrays because the problem is not that far ahead in the textbook. I'm just supposed to use a "for" statement to vary the interest rate. I'm also wondering if everyone has struggled with...
Thanks for your help, but I cannot use arrays.
I've tried it again, and now I get the message: "ID: unresolved: pow"
#include <stdio.h>
#include <math.h>
int main()
{
I need desperate help with program control. I'm okay if it's a single loop, but more than that, I"m lost!
Here's yet another problem I'm trying to work out. This program should compound the...
Thank you so much for your response! Could you give me a little more explaination as to the changes you made compared to my code. I'm thinking you've done some shortcuts that I"m not familiar...
I forgot to add that I'm using cc compiler on DigitalUnix...
Hi,
I'm working on a program that should do the following:
Prompt a user to enter the amount of gallons used
Prompt a user to enter the amount of miles driven
Give the average miles / gallon...