We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11baf92 commit ca4e673Copy full SHA for ca4e673
linux-shell/00008_arithmetic-operations.sh
@@ -0,0 +1,7 @@
1
+#!/bin/sh
2
+
3
+# Arithmetic Operations
4
+# https://www.hackerrank.com/challenges/bash-tutorials---arithmetic-operations/problem
5
6
+read X
7
+printf "%.3f" $(echo $X | bc -l)
0 commit comments