Guys I don’t know what am i going to resolve this Problem.. When I type “strcmp(rpd,”2000.00″);” It says incompatible type of argument of ‘strcpy’. Beginner here.
testrtn(){ if(cc==1){ rpd=2000.00; rf=1000.00; p("\n\n"); strcpy(cl,"Single Suite"); strcmp(rpd,"2000.00"); strcmp(rf,"1000.00"); } prtrtn(){ bill=dr*rpd; tb=bill+rf; p("\n\t\t\t\t***VOUCHER***"); p("\n\t\tCustomer No. : %d", cno); p("\n\t\tCustomer Name : %s", cna); p("\n\t\tClassification : %s", cl); p("\n\t\tRecreational Fee: %.2f", rf); p("\n\t\tRate Per Day : %.2f", rpd); p("\n\t\tTotal Bill : %.2f", tb); p("\n\n"); }