1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ipn [44]
3 years ago
15

Consider the following code segment.

Computers and Technology
1 answer:
Marizza181 [45]3 years ago
8 0

Answer:

21

Explanation:

You might be interested in
how to plot a trianing field (running track around football field) in matlab. Parameters are two lines and two semicircles. Each
Morgarella [4.7K]

Is this a question or answer? Either re-post correctly or ignore this.

4 0
3 years ago
Write switch-case statement that displays the following information if the temperature is the input Activities at Lake LazyDays
Marta_Voda [28]

Answer:

//here is code in c++.

#include <bits/stdc++.h>

using namespace std;

int main()

{

// variable

int temp;

cout<<"Please enter the temperature:";

//read temperature from user

cin>>temp;

int n;

// reduce the case for switch

n=temp/10;

// print output according to the switch case

switch (n) {

case 7:

case 6:

cout<<"tennis"<<endl;

break;

case 5:

case 4:

cout<<"golf"<<endl;

break;

default:

if(temp>=80)

cout<<"swimming"<<endl;

else

cout<<"skiing"<<endl;

break;

}

return 0;

}

Explanation:

Read the value of temperature from user and assign it to variable "temp".

Calculate n=temp/10, to limit the number of cases in the switch statement.

if temperature is greater or equal 60 & less than 80, it will print "tennis".

If temperature is greater or equal 40 & less than 60, it will print "golf".

in default case, if temperature is greater than 80, it will print "swimming".

if less than 40, print "skiing".  

Output:

Please enter  the temperature::67                                                                                        

tennis

3 0
4 years ago
A disciplined, creative, and effective approach to problem solving is needed for project success. The nine-step approach to prob
KatRina [158]

Answer: Determine the most popular solution.

Explanation:

Some of the approaches to problem solving that are listed here include:

• Gather data and verify the most likely causes.

• Revise the project plan.

• Evaluate the alternative solutions

To solve a problem, one needs to gather the data and verify the likely causes of the problem. This can be done by asking questions, running test, interviewing people, running tests, reading reports, or analyzing data.

The project plan can also be revised. Likewise, when one comes with different solutions, one should weigh the cost and benefits of each in order to choose the best solution.

Determine the most popular solution isn't a correct option.

6 0
3 years ago
During your research on a topic, you run across a blog site where several people posted that fuel prices have gone up 10% in the
quester [9]
The second one because you don't know if it's true.
4 0
3 years ago
Read 2 more answers
ISO’s primary standard for crisis management, ____, is labeled as incident response, but is intended to help organizations respo
Sliva [168]
ISO 22301, is a management system standard which can be used by organizations of all sizes and types.
6 0
3 years ago
Other questions:
  • Which step of the machine cycle examines the op-code of the next instruction to be executed?
    12·2 answers
  • Processing is handled by the computer’s central processing unit (cpu).​ <br> a. True <br> b. False
    6·1 answer
  • Another html/css assignment, drop css code below, thank you
    15·1 answer
  • WILL UPVOTE &lt;3
    9·1 answer
  • What do flowcharts communicate to programmers ?
    10·1 answer
  • 3
    9·2 answers
  • Who invented pascaline and when?​
    11·2 answers
  • I think my knee....
    14·1 answer
  • Examples of the many different ways an app can be used are called use
    6·2 answers
  • What is Colby Knox known for?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!