array help thanks

creating a program that will input 10 integers of an array and will compute for the sum of the numbers that are greater than or equal to 10

1
2
3
4
5
6
7
8
9
10
11
12
13
14
  #include<iostream>
using namespace std;
int main()
{

int num[10];

cout<<"enter 10 integers";
cin>>(repeat 10 times?) or you use loops here?

return 0;

}
Loops > copy-pasting (in most situations).

-Albatross
Hey i already answered your question please don't spam
replied thanks and sorry
Topic archived. No new replies allowed.