Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C Program.Thanks! Problem 3: Weighted Average (10%) Weighted Average is defined as = **Wi , where x; is the value, w; is the n 21-1
C Program.Thanks!
Problem 3: Weighted Average (10%) Weighted Average is defined as = **Wi , where x; is the value, w; is the n 21-1 Wi weighting Given five positive integers, please print out the weighted average with 2 different weightings: [1, 1.5, 2, 0.5, 1.2], and [2, 3, 1, 1, 1.5] Note: Please print to one decimal place for the output(IX(12). Example: Input Output 80 100 90 60 20 74.8 75.3 60 70 80 90 100 79.0 76.5 Hint: (1) 80+1+100-1.5+90+2+60*0.5+20+1.2 = 74.838 2 74.8 1+1.5+2+0.5+1.2 80-2+100-3+90+1+60-1+20-1.5 (2) 2+3+1+1+1.5 75.3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started