summaryrefslogtreecommitdiff
path: root/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.4/Ex3_4.R
diff options
context:
space:
mode:
Diffstat (limited to 'Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.4/Ex3_4.R')
-rw-r--r--Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.4/Ex3_4.R8
1 files changed, 8 insertions, 0 deletions
diff --git a/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.4/Ex3_4.R b/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.4/Ex3_4.R
new file mode 100644
index 00000000..a414df5a
--- /dev/null
+++ b/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.4/Ex3_4.R
@@ -0,0 +1,8 @@
+# Example 4 Chapter 3 Page no.: 48
+# COnversion of Decimal number to Octal number
+
+x<-163
+a<-as.octmode(x)
+cat("The number 163 is ")
+a
+cat("in Octal system")