Evaluate 7 - 5p + 3q when p = 1 and q = 7

To evaluate 7 - 5p + 3q when p = 1 and q = 7, substitute the given values into the expression:

7 - 5(1) + 3(7)

Simplify:

7 - 5 + 21

= 2 + 21

= 23

Therefore, when p = 1 and q = 7,

7 - 5p + 3q = 23.