less than 1 minute read

e<span style="font-family: "Arial","sans-serif"; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-language: HI; mso-fareast-font-family: Arial; mso-fareast-language: HI; mso-font-kerning: .5pt;">cho ” Enter any number “ read i sum1=0 sd=0 while \[ $i -gt 0 \]; do sd=$(( $i % 10 )) i=$(( $i / 10)) sum1=$(( sum1 + sd )) done echo ” The summation of number is $sum1 “</span>

Leave a comment