Read the following Decision table and generate the possible

Read the following Decision table and generate the possible set of if then rules?

Solution

Conditions:
C1: New Customer
C2: Previous monthly transaction > $1000
C3: Transaction > $500

Actions:
A1: Accept \"pay in advance\"
A2: Accept \"pay upon delivery\"
A3: Request 15% prior deposit


if( C1 == true)
{
   cout << A1 << endl;
}

else if(C2 == true && C3 == false)
{
   cout << A2 << endl;
}

else if(C2 == true && C3 == true)
{
   cout << A2 << endl;
   cout << A3 << endl
}

else if(C2 == false && C3 == true)
{
   cout << A1 << endl;
   cout << A3 << endl;
}

else if(C2 == false && C3 == false)
{
   cout << A1 << endl;
}

else
{
   cout << \"No action defined for this condition\" << endl;
}

 Read the following Decision table and generate the possible set of if then rules? SolutionConditions: C1: New Customer C2: Previous monthly transaction > $1

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site