#include <iostream>
int main()
{
int x = 1;
int number;
int total = 0;
while(x <= 5){
std::cout << "Please enter a number " << std::endl ;
std::cin >> number;
total = total + number;
x++;
}
std::cout << "Your total is " << total << std::endl;
return 0;
}
The part that I was forgetting was the enter a number please.