DO…LOOP and IF ELSE THEN statements

5 pts.
Tags:
Accumulators
Counters
DO LOOP statement
IF ELSE statement
LOOP statement
I am writing a basic program where two types of data are added: 1. a salespersons ID and 2. an amount of cars sold within a month from that salesperson. I have found out how to set the code where the numbers will go where they need to, but adding extra ones does not work, and trying to add any more numbers only changes it to the number that is entered.
ASKED: July 7, 2009  2:47 AM
UPDATED: July 12, 2009  5:35 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

well there are other ways of writing it, it depends on what programming language your using?to answer your question,its not just the “DO..and IF ELSE THEN STATEMENTS” when creating a basic program..did you ever tried using an “Object Oriented Programming” method acronym “OOP” that would solve your problem

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BrentSheets
    Moderator Note: Hi Norphes and welcome to IT Knowledge Exchange. It's always best to mention the language you're working in. Other members need to know this in order to answer. A good practice is to use Tags for this. I would add more tags for you but your question could apply to many languages and I'm not sure which applies to you. You can always update your original question by clicking the "Add to Discussion" button and providing more details. Feel free to post code snippets on where you're stuck or error messages you're getting, too. Thanks.
    6,875 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following