summaryrefslogtreecommitdiff
path: root/260/CH8/EX8.6/8_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '260/CH8/EX8.6/8_6.sce')
-rw-r--r--260/CH8/EX8.6/8_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/260/CH8/EX8.6/8_6.sce b/260/CH8/EX8.6/8_6.sce
new file mode 100644
index 000000000..bf48198dd
--- /dev/null
+++ b/260/CH8/EX8.6/8_6.sce
@@ -0,0 +1,10 @@
+//Eg-8.6
+//pg-374
+
+clear
+clc
+
+exec quicksort.sci
+x = [ 4 1 5 2.6 5.4 11.5 7.6 1.9 ]
+xsorted = quicksort(x)
+disp(xsorted) \ No newline at end of file