Answer:
Following are the statement in C++ Language is given below
total=0; // variable declaration
cin >> amount; // Read the input
while(amount >=0) //iterating the loop
{
if(amount>0) // checking condition
total=total+amount; // perform operation
}
Explanation:
Following is the description of the statement