Works perfectly now thanks :)
Now I need to redirect the output to a text file?
I've looked at a few examples but I'm not really understanding it?
FILE *file = fopen("file.txt", "w");
...
Type: Posts; User: dave_the_bear10
Works perfectly now thanks :)
Now I need to redirect the output to a text file?
I've looked at a few examples but I'm not really understanding it?
FILE *file = fopen("file.txt", "w");
...
Here is the question:
Write a program that will calculate and print bills for the city power company. The rates vary on whether the use is residential, commercial, or industrial. A code of R means...