09-18-2006
17,
0
Join Date: Jun 2006
Last Activity: 23 September 2008, 11:23 PM EDT
Posts: 17
Thanks Given: 0
Thanked 0 Times in 0 Posts
Shell programmin is in a lot of cases very similar like C language or other imperative language that you know. Think what you want the program does, write and finally y could be work. Answering your question, i provably use two vars, the first one to allocate the less prize and in the second the product, then you only need to output the second var.