If you enter 1 0, what is the output of the following code?
```
#include
using namespace std;
int main()
{
// Read two intergers
cout << "Enter two integers: ";
int number1, number2;
cin >> number1 >> number2;
try
{
if (number2 == 0)
throw number1;
cout << number1 << " / " << number2 << " is "
<< (number1 / number2) << endl;
cout << "C" << endl;
}
catch (int e)
{
cout << "A" << endl;
}
cout << "B" << endl;
return 0;
}
```
a. B
b. AB
c. A
d. C
b. AB
You might also like to view...
Your systems analysis team is close to completing a system for Azuka Theatre. Kevin is quite confident that the programs he has written for Azuka’s inventory system will perform as required because they are similar to programs he has done before. Your team has been very busy and would ideally like to begin full systems testing as soon as possible. Mark and Allison, two of your junior team members have proposed the following:
What will be an ideal response?
?Case-Based Critical Thinking Questions ?Case 7-1 Oscar owns Oscar's Skateboard Shop. He wants to create a web form to allow users to specify the type of skateboards they would like to buy. This includes the make, model, type and color, and board options. Oscar's skateboards come in Children, Young Adult, and Adult sizes. Oscar's skateboards come in different colors, patterns, and themes. He has over 25 makes and models of skateboards. ?Which of the following can Oscar use to display a list of makes and models of skateboards?
A. ?Text area boxes B. ?Radio buttons C. ?Selection lists D. ?Slider controls
In ingress filtering, the firewall examines packets________
A. exiting the network from the outside. B. entering the network from the outside. C. entering the network from the inside. D. exiting the network from the inside.
Technology is the most effective method of avoiding problems during the legal discovery process.
True False