If the input to the program segment at the right is 85, what is its output?

a. A scanf("%d", &s);
if (s >= 90)
b. B printf("A\n");
else if (s >= 70)
c. C printf("C\n");
else if (s >= 80)
d. D printf("B\n");
else
e. C printf("D\n");
B

c. printf("C\n");
else if (s >= 80)

Computer Science & Information Technology

You might also like to view...

Suppose that lines in a document end awkwardly, with some not even extending to the right margin, immediately after you change margins. What do you think could cause that and how would you suggest correcting the problem?

What will be an ideal response?

Computer Science & Information Technology

A file that contains software to be downloaded is called a(n) _____ file.

A. archive B. download C. distribution D. program

Computer Science & Information Technology