Actually, I am going to try that one.
Type: Posts; User: Murk
Actually, I am going to try that one.
I guess my big question was a means of shortening. When I get up to the more complex programs, I don't want to be using the same old method of long definitions for my variables, as I can only assume...
A quick rundown of how it is "wordy:"
pen = (tot - ((twe * 2000) + (te * 1000) + (fiv * 500) + (wun * 100) + (qua * 25) + (dim * 10) + (nick * 5))) / 1;
that's my penny value right now.
Right now it's still concept, that's the whole problem I assume.
What I am trying to do is basically a "change" procedure. I want somebody to enter a total (say 21.45) and have the program give...
So I am only really just starting out down the line of learning how to program in C, and I am trying to create a program that reads input in a certain way. Specifically, I want my program to only...