Answer:
Here is the code for a classic C++ program that does it:
--------------------------------------------------------------------------------
#include <iostream>
using namespace std;
int main()
{
int sum = 0;
int n;
cout << "Input 10 numbers: " << endl;
for (int i = 0; i < 10; i++)
{
cin >> n;
sum += n;
}
cout << "Sum of the numbers: " << sum << endl;
}
--------------------------------------------------------------------------------
Explanation:
I'm assuming you know what "include", "using namespace std" and "int main()" do, so I will skip over those.
First, we declare a variable "sum" and initialize it with 0 so we can add numbers to it later.
Then, we declare a variable "n" that will be set as the input of the user.
The "for-loop" will iterate ( go ) from 0 to 9, and will set the value of "n" as the input that is given -> "cin >> n;". After that, we add the value of "n" to the sum variable.
After "i" reaches 9, it will exit the loop and proceed to printing the sum of the numbers.
Hope it helped!
Answer:
When you proofread, look for punctuation, spelling, and capitalization mistakes.
Explanation:
Answer:
Please elaborate more your question so I can answer your question accurately.
Explanation:
Answer:The first one. Click Keep Changes.
Explanation: cause I did right
Answer:
the amount of C required is 190 units of C
Explanation:
the amount of C to cover the necessity of product A is
Ca = A units required * number of C units to manufacture a unit of A
Ca = 30 unit of A * 3 units of C/ unit of A =90 units of C
to produce B the same applies
Cb = B units required * number of C units to manufacture a unit of B
Cb = 25 unit of B * 4 units of C/ unit of B =100 units of C
therefore to cover the necessities of A and also B we will need:
total units of C required = units of C to produce A + units of C to produce B
C = Ca + Cb = 90 units of C + 100 units of C = 190 units of C
C= 190 units of C