0

sum=0;

while(count<20)

cin>>num;

sum=sum+num;

count++;

I did made this one but I think it's wrong..can you help out guys?

```
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int sum,num,count;
count=0;
while (count<20)
{
cout<<"cin num"<<endl;
cin>>num;
sum=sum+num;
count++;
}
cout<<"sum="<<sum<<endl;
getch();
return 0;
}
```