Question

Locked

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.

2 total posts (Page 1 of 1)  
| 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.
http://en.wikipedia.org/wiki/Bubble_sort

And for shell scripting look here:
http://en.wikipedia.org/wiki/Shell_script

And if you want a link to source code:
http://en.wikipedia.org/wiki/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!

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums