Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

shell scripting

  Asked By: Zubair    Date: Apr 16    Category: Unix / Linux / Ubuntu    Views: 775
  

Write a shell script which gets digits in a single variable and prints the sum of all digits for example, Input : 123 output 3+2+1=6

Share: 

 

1 Answer Found

 
Didn't find what you were looking for? Find more on shell scripting Or get search suggestion and latest updates.




Tagged: