View Single Post
Old 03-03-2005, 07:30 AM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
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.
}
__________________
Valmont is offline   Reply With Quote