Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Intro to C++ Code : #include #include using namespace std; int main() { int a[20], n, i = 0; cout>n; cout>n; cout Error Message :
Intro to C++
Code :
#include
#include
int main() { int a[20], n, i = 0; cout>n; cout>n; cout
Error Message :
Take the average of some numbers. Show all the numbers that are below average You can assume that there will not be more than 20 numbers entered For example Enter a weight (0 to stop): 1 Enter a weight (0 to stop): 2 Enter a weight (0 to stop): 3 Enter a weight (0 to stop): 4 Enter a weight (0 to stop) 5 Enter a weight (0 to stop): 6 Enter a weight (0 to stop) 7 Enter a weight (0 to stop) 8 Enter a weight (0 to stop): 9 Enter a weight (0 to stop): 10 Enter a weight (0 to stop): 0 The total was 55 The average is 5.5 Here are all the numbers less than the average: 4Step 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