Declaring "end1" in scope.

I'm writing a program that converts Celsius degrees into Fahrenheit. So far I only have one error, and it tells me that "end1" was not declared in scope. How do I fix this?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Conversion - Program to convert temperature from
//            Celsius degrees into Fahrenheit:
//            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;

        // convert Celsius into Fahrenheit values
        int fahrenheit;
        fahrenheit = celsius * 9/5 + 32;

        // output the results (followed by a NewLine)
        cout << "Fahrenheit value is:";
        cout << fahrenheit << end1;

        // wait until user is ready before terminating program
        // to allow the user to see the program the results
        system("PAUSE");
        return 0;
}
It is "endl" that is a lower case 'L' not the number 1.
Hint: "endl" is short for "end line" ;)
Thanks guys.
Topic archived. No new replies allowed.