Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Counting Money Function

ljsljs Member Posts: 3
[b][red]This message was edited by ljs at 2002-10-28 7:40:5[/red][/b][hr]
I need a money function for my game Im programming. I want it to count long integers only. A range of 5-1,000,000. So if my character was to make money it increases, if my character was to lose money it decreases. Im a beginning programmer.

#include
int money();

int main()
{
money()
{
long maximumCash;
long minimumCash;

maximumCash=1000000
minimumCash=5

This is all I have.




Comments

  • uksmiffyuksmiffy Member Posts: 7
    that shouldnt be too hard but without knowing how you have done everything else then its kinda hard. if you could send me the code you have i can read it thru and knock summin up for ya m8.

    Paul
Sign In or Register to comment.