i have follwoing code in c++ .i want to continue it till suer give input as 'Y' or 'y'

// my first program in C++
 #include <iostream>
#include <stdlib.h>
#include <conio.h>
#include <stdio.h>
//#inlcude <iostream>
 #include <stdlib.h>
 #include <conio.h>
 #include <ctime>
using namespace std;
void Evaluatexp(char ch[]);
//void Evaluatexp(string ch);
int main ()
    char postfixexp[100];
//    string postfixexp;
    char ch='Y';
    //cout << "Hello World!" << endl << endl;
    while(ch=='Y' || ch=='y')
    cout << "Enter postfix expression to evaluate:" << endl << endl;
//cin >> postfixexp;
cout << (postfixexp);
    cout << "Do you want to enter another postfix expression to evaluate? [Y/N]" << endl << endl;
//    getch(ch);
   cin >> ch;
  cout << ch;
 return 0;

but its not working fine ..and do not ask for expression in the code ( cout << "Enter postfix expression to evaluate:" << endl << endl

any help??

first You should use do while loop..
Second you should use "cin.ignore()" after getting character from user (Y/N)..
Try this following:

 // here is ur code
} while(ch=='Y' || ch=='y');

thanks for ur reply