First things first:
Quote:
|
how do i add the P and R to the code to recognize it is a sercice code
|
Code:
char service;
//... later...
if(service == 's' || service == 'S')
{
//do the standard service calculation.
}
else if(service == 'p' || service == 'P')
{
//do premium service calculations.
}