Consider the following C code:
int main() { sum = 0; for (n = 1; n < 3; n++) { n++; sum += g(f(n)); } printf("%d", sum); } int g(n) { return 10 + n; } int f(n) { return g(2 * n); }
What is the output?
A pie chart shows the distribution of students across 5 faculties in a university. If 20% are in Arts, 25% in Science, 15% in Law, 30% in Engineering, and the rest in Commerce, what is the angle (in degrees) for Commerce?