Create a numeric vector "q2" containing the numbers 2.23, 3.45, 1.87, 2.11, 7.33, 18.34, 19.23. Write codes to calculate the average of these numbers? (rounded to 2 decimal digits) O 3.45 O 7.69 O 7.79

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 5GZ
icon
Related questions
Question
Create a numeric vector "q2" containing the numbers
2.23, 3.45, 1.87, 2.11, 7.33, 18.34, 19.23. VWrite codes to
calculate the average of these numbers? (rounded to 2
decimal digits)
3.45
O 7.69
O 7.79
O 7.89
r for strudio 1.5 speed
Transcribed Image Text:Create a numeric vector "q2" containing the numbers 2.23, 3.45, 1.87, 2.11, 7.33, 18.34, 19.23. VWrite codes to calculate the average of these numbers? (rounded to 2 decimal digits) 3.45 O 7.69 O 7.79 O 7.89 r for strudio 1.5 speed
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage