Shell Script

By sowndharya125 ·
give me the source code in shell script to find the bigeest and smallest number from the given series

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

'gime that thing, gimme, gimme, that thing!

by Dr Dij In reply to Shell Script

it is customary in english to ask nicely rather than 'give me' which implies a demand.

are you talking about unix shell script?

It is also customary to explain what you are looking for.

However if we gave you the answer, you'd never learn for your class's assignment. Suggest you read a book on shell scripting instead.

Collapse -

Variation on Bubble Sort

by Bizzo In reply to Shell Script

An algorithm for finding the biggest and smallest element in an array can be taken from a variation of the bubble sort algorithm. Bubble sort swaps elements to reorder the array. You can amend it to just find the biggest or smallest.

And for shell scripting look here:

And if you want a link to source code:

I'm in such a wiki day today!

I hope this helps, and I hope you do realy well in your coursework, seriously!

Related Discussions

Related Forums