Please help me with my pascal homework?

October 30, 2011 at 13:50:15
Specs: Windows XP
CANNOT get it i tried for hours

write a program that will accept 2 values into the variables A & B. Your program should then determine which variable is storing the larger value and re-assign , if neccessary, the smaller value to the variables "A" and the larger to the variable "B". The values A and B should be displayed

I think It is impossible without a third variable to teporarly hold a value =/ =/ Help!!

See More: Please help me with my pascal homework?

Report •

October 30, 2011 at 13:56:21
What's your objection to using a third variable?

Report •

October 30, 2011 at 13:57:43
i am not objecting just not sure how to do it

Report •

October 30, 2011 at 14:15:39
This is such a simple problem that there's really no way to help you without actually writing the program for you. (And I'm certainly not going to do your work for you.)

If you haven't learnt enough Pascal yet to do this then perhaps you should talk to your teacher and get him (or her) to explain the basics of the language to you. It's the only way that you are going to learn.

Report •

Related Solutions

October 30, 2011 at 14:34:59
Please help =/ if i don't hand it in i fail for the year. I promise will start doing my work but right now i really need help!!!!!

Report •

Ask Question