#include int main() { int amount, cost; int result = 10; printf("please enter amount and cost\n"); scanf("%d %d", &amount, &cost); printf("entered values: amount = %d, cost = %d\n", amount, cost); if (amount == 13) { if (cost == 52) { result = 20; } else { result = 30; } } printf("result = %d\n", result); }