Computing.Net > Forums > Programming > remembering user inputs

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

remembering user inputs

Reply to Message Icon

Name: brockey01
Date: February 7, 2009 at 18:07:45 Pacific
OS: Windows XP
CPU/Ram: 1024
Product: Hewlett-packard / Sd2100
Subcategory: Batch
Comment:

ok i have a menu with lets say 3 or 4 item. i need to keep count of all 4 items and because to total then at the end of the day or average then if i want.

i cant figure out how to recall then either add or avarage then. then send the counts to a final log to print out of totals and averages.

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: February 7, 2009 at 18:45:02 Pacific
Reply:

Set each hoice to a variable; then do the math.

Remember: integers only. XP doesn't do floating point.


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: brockey01
Date: February 7, 2009 at 18:54:24 Pacific
Reply:

if i close the program how does it remember my choices? also how would i set the variable for items?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: remembering user inputs

remember user inputs www.computing.net/answers/programming/remember-user-inputs/17658.html

Java - validating user input www.computing.net/answers/programming/java-validating-user-input/12223.html

hiding user input in java www.computing.net/answers/programming/hiding-user-input-in-java/9552.html