Write a function rule to represent the situation.

the total cost C for G grams of pepperoni if each grams costs $3.93
Write a function rule using C and G as variables.

The function rule representing the situation can be written as:

C = 3.93 * G