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...

Which of the following is the common port number for HTTP (WWW) using TCP?

A) 25 B) 23 C) 80 D) 53

Computer Science & Information Technology

Automatic configuration is appropriate for small organizations that have only one network segment and where the computers do not need to use DNS or access another network.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

How does a voucher payable system work? What documents are reconciled? Who prepares the voucher? How is the A/P balance determined? How does the voucher payable system improve control over cash?

What will be an ideal response?

Computer Science & Information Technology

A vSphere administrator needs to backup a virtual machine that has a Microsoft SQL Server Database installed. Which solution allows for an application quiesce to occur during backup?

A. VMware vCenter Converter B. VMware vCenter Site Recovery Manager C. VMware vSphere Replication D. VMware vSphere Data Protection Advanced

Computer Science & Information Technology