i have a book to learn c++ and i have a peice of code that they are saying to compile and it is showing an error on line 15. here is the code:

// Program to convert temperature from Celsius degree
// units into Fahrenheit degree units:
// Fahrenheit = Celsius * (212 - 32)/100 + 32
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])

// enter the temperature in Celsius
int celsius;
cout << “Enter the temperature in Celsius:;
cin >> celsius;
// calculate conversion factor for Celsius
// to Fahrenheit
int factor;
factor = 212 - 32;
// use conversion factor to convert Celsius
// into Fahrenheit values
int fahrenheit;
fahrenheit = factor * celsius/100 + 32;
// output the results (followed by a NewLine)
cout << “Fahrenheit value is:;
cout << fahrenheit << endl;
// wait until user is ready before terminating program
// to allow the user to see the program results
return 0;

the error is somewhere on line 15. if any of you who know what it might be, please take a look at it and let me know what the error is.

i just dont know.
thanks is advance, john

Your editor appears to have used “fancy double-quotes.
Use an editor that uses a "regular" double quote that is from the source character set.

yeah,. i figured that one out about an houor after i posted. i felt kinda stupid for that one. i just didnt see any thing wrong with it at first. all i can say is ...oops :)

thanks for the reply though.

This question has already been answered. Start a new discussion instead.