执行以下程序,输出的结果是( )。
int a = 3, b = 5, c = 7; int d = a % 2; int e = a - c % b; if (d < e) { c += b; } else { c -= e; } cout << c << endl;
5
6
7
8