PDA

View Full Version : URGENT(Bash scripting)



play05
September 30th, 2009, 12:13 AM
Hai everyone!

So this is my problem,my lecturer give a assignment about bash scripting.I took almost 3 hour to figure out but can't =( .Need to submit it next 2 hour :(

Question :
Write a shell script that reads 5 integers from the user interactively,one at a time.It then finds the sum and displays the sum on the screen.The shell script must use a for..do loop.

Very confusing me!

cariboo
September 30th, 2009, 12:36 AM
We are happy to give you hints on how to accomplish what you want, but the forums will not do your homework for you. This thread is closed.