I am having a problem with my loop structure code:
#include <iostream>
using namespace std;
void main( )
{
cout << "Value 0 will end process!" << endl;
Type: Posts; User: steeno321
I am having a problem with my loop structure code:
#include <iostream>
using namespace std;
void main( )
{
cout << "Value 0 will end process!" << endl;
Okay thanks I got it working right just had to open this project in a new file and it is compiling right. Thanks again!
I tried adding a reference to the usage and removing int from 'Read'. I still am getting the same error. The changes are:
// Description: Calculate the water bill given the cubic feet of water...
Sorry I am just beginning to learn and use C++. I was under the assumption the 'Read' function assigned the usage value into the 'Main'? Do I need to reference the usage from 'Read' and then...
I am having trouble figuring out why I am getting an Unitialized Local Variable error in my code. The program calculates the charge associated with water depending on usage.
Here is the code:
...