subject

Task description Write a Bash script that computes the sum of the absolute values of integers given by standard input. The numbers are given in a single line, separated by a space. You should print the sum of their absolute values to standard output. For example, given the input: 2 41 -15 the script should print to the standard output: 58 as the absolute values of the numbers in the input are 2, 41 and 15, and their sum is 58.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
List the five on-board vehicle subsystems
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
question
Computers and Technology, 24.06.2019 22:30
Distinguish between a skill resume and a chronological resume and explain when it is best to use each format
Answers: 1
question
Computers and Technology, 24.06.2019 23:30
Game design colleges anyone know the requirements? ?
Answers: 1
You know the right answer?
Task description Write a Bash script that computes the sum of the absolute values of integers given...
Questions
question
Mathematics, 03.12.2021 21:10
question
Biology, 03.12.2021 21:10
question
Mathematics, 03.12.2021 21:10
Questions on the website: 13722361