question

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
IBelieve
New poster
Posts: 14
Joined: Sun Nov 16, 2003 7:40 pm

question

Post by IBelieve »

How do you solve this type of problems in pascal ? I mean is there another way of doing this besides using an array of records that keeps the name and value for each variable..?

INPUT
JOHN=TOM+10
TOM=20

OUTPUT
JOHN=30
TOM=20
When people agree with me I always feel that I must be wrong.
Post Reply

Return to “Pascal”