expected `;' before "pennies"? C++ Debugging (Code Completed)
- by Josh Lake
Can anyone tell me why I get an error on my last cout?
#include <iostream>
#include <cmath>
#include <stdio.h>
#include <cstring>
#include <conio.h>
using namespace std;
inline void keep_window_open() { char ch; cin>>ch; }
int main()
{
cout << "How many pennies do you have?\n";
int pennies;
cin…