Write a function that sums all the elements of a list that are divisible by 9. What is the result of that function on this list: [71,58,32,6,81,97,75,63,76,28,64,10,54,52,78, 33,66,60,78,16,82,83,4,94,67,42,88,20,58,39, 40,97,88,3,15,48,50,23,22,17,88,16,75,9,10,60 ,51,27,63,16,49,19,18,8,13,79,10,66,73,14,19,1 7,5,51,41,72,83,48,73,57,11,71,64,94,11,11,52,2 1,26,92,54,44,98,25,20,34,49,54,92,78,18,75, 94,94,95,38,76,5,53,56,31,65,73,76,32,73,40,7 8,85,20,93,14,51,79,50,33,7,43,94,72,62,54,23 ,99,49,25,13,60,96,50,12,93,3,71,88,47,74,90,1 7,4,85,15,33,12,65,66,19,61,21,56,67,56,31,2,1 6,32,77,24,42,6,13,96,65,98,7,43,9,43,73,61,7, 47,43,65,4,76,53,92,76,22,12,49,24,41,64,8,1, 50,34,100,65,32,18,68,84,35,25,98,34,77] the coding language is Haskell

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Please give me correct solution.
Write a function that sums all the elements
of a list that are divisible by 9. What is the
result of that function on this list:
[71,58,32,6,81,97,75,63,76,28,64,10,54,52,78,
33,66,60,78,16,82,83,4,94,67,42,88,20,58,39,
40,97,88,3,15,48,50,23,22,17,88,16,75,9,10,60
,51,27,63,16,49,19,18,8,13,79,10,66,73,14,19,1
7,5,51,41,72,83,48,73,57,11,71,64,94,11,11,52,2
1,26,92,54,44,98,25,20,34,49,54,92,78,18,75,
94,94,95,38,76,5,53,56,31,65,73,76,32,73,40,7
8,85,20,93,14,51,79,50,33,7,43,94,72,62,54,23
,99,49,25,13,60,96,50,12,93,3,71,88,47,74,90,1
7,4,85,15,33,12,65,66,19,61,21,56,67,56,31,2,1
6,32,77,24,42,6,13,96,65,98,7,43,9,43,73,61,7,
47,43,65,4,76,53,92,76,22,12,49,24,41,64,8,1,
50,34,100,65,32,18,68,84,35,25,98,34,77]
the coding language is Haskell
Transcribed Image Text:Write a function that sums all the elements of a list that are divisible by 9. What is the result of that function on this list: [71,58,32,6,81,97,75,63,76,28,64,10,54,52,78, 33,66,60,78,16,82,83,4,94,67,42,88,20,58,39, 40,97,88,3,15,48,50,23,22,17,88,16,75,9,10,60 ,51,27,63,16,49,19,18,8,13,79,10,66,73,14,19,1 7,5,51,41,72,83,48,73,57,11,71,64,94,11,11,52,2 1,26,92,54,44,98,25,20,34,49,54,92,78,18,75, 94,94,95,38,76,5,53,56,31,65,73,76,32,73,40,7 8,85,20,93,14,51,79,50,33,7,43,94,72,62,54,23 ,99,49,25,13,60,96,50,12,93,3,71,88,47,74,90,1 7,4,85,15,33,12,65,66,19,61,21,56,67,56,31,2,1 6,32,77,24,42,6,13,96,65,98,7,43,9,43,73,61,7, 47,43,65,4,76,53,92,76,22,12,49,24,41,64,8,1, 50,34,100,65,32,18,68,84,35,25,98,34,77] the coding language is Haskell
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY