diff options
Diffstat (limited to '662/CH4/EX4.16/ex4_16.sce')
-rwxr-xr-x | 662/CH4/EX4.16/ex4_16.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/662/CH4/EX4.16/ex4_16.sce b/662/CH4/EX4.16/ex4_16.sce new file mode 100755 index 000000000..9226e13df --- /dev/null +++ b/662/CH4/EX4.16/ex4_16.sce @@ -0,0 +1,6 @@ + //Example 4.16
+ clc
+//use of printf function
+i=2.0; //floating -point number
+j=3.0; //floating -point number
+printf("%f %f %f %f" ,i ,j,i+j, sqrt(i+j));
|