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
- Declared a variable "total" and initialized with them 0 to them.
- Read the input in the "amount" variable by using cin.
- iterating the loop when the amount is greater then 0.
- Checking the condition if(amount>0) then adding the total variable and amount and storing them into the total variable.
Answer:
1. Data and information are two terms that can be used interchangeably.
Explanation:
Data is a raw fact, but information is a meaningful term.
Multiple data produce information
Data need to be processed toform information, information is understandable
An actual parameter in a method call, or one of the values combined by an operator
<span>The current flow in two light bulbs wired in a series circuit is identica</span>