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
Stels [109]
3 years ago
8

Question 1

Computers and Technology
1 answer:
Margaret [11]3 years ago
8 0

First of all, the print statements should be indented, and the last if statement should be x % 2 == 1 inside of the parentheses.

Other than those few mistakes, the output of the program when the user types in 9 is:

A

C

and whatever the last thing is in the final if statement.

I hope this helps!

You might be interested in
JavaScript
Mekhanik [1.2K]

Answer:

C. 40

Explanation:

The code uses IF and ELSE statements to carry execute a block of code if any of the statements hold true

OrderTotal here is greater than 100, and this allows the second IF ELSE block to be executed.

The code to be executed is discountAmount = OrderTotal * 0.2

This will be discountAmount = 200 *0.2

therefore, discountAmount = 40.

3 0
3 years ago
What types of actions exist in activity diagrams?<br>​
iragen [17]

Answer:

Activity Diagrams

Activity. An activity diagram illustrates one individual activity. ...

Action. ...

Calling an Activity (Action) ...

Accepting an Event (Action) ...

Accepting a Time Event (Action) ...

Sending Signals (Action) ...

Edge (Control Flow) ...

Decision Node.

Explanation:

8 0
3 years ago
If you want to learn more about a command, point to its button and wait for the ____ to appear.
Pani-rosa [81]

Answer:

The answer to this question is "Screen Tip".

Explanation:

In the operating system, there are many software. In this software, there is an option of the screen tip. screen tip is a small window that displays detailed text.

For example :  

If we start a paint software and we point the mouse on the pencil tool it display the detail of that tool like "Draw free-from line with a selected line width".

7 0
3 years ago
The following algorithm adds all the entries in a square n × n array A. Analyze this algorithm where the work unit is the additi
wlad13 [49]

Answer:

T(n)=n(n+1)/2

Explanation:

See the attached picture for detailed explanation.

6 0
3 years ago
You want to view a list of users on a linux system. what command should you use?
vredina [299]
Answer is A: cat /use/passwd
7 0
2 years ago
Other questions:
  • "explain why professional software is not just the programs that are developed for a customer"
    7·1 answer
  • Speed in a given direction is called
    12·2 answers
  • Assume that the string oldSeq has been properly declared and initialized and contains the string segment. Write a code segment t
    6·1 answer
  • A newly installed server communicates properly with its SCSI drives for six hours before requiring a reboot to continue communic
    11·1 answer
  • Which of the following access control techniques allows the user to feel empowered and able to change security attributes?
    5·1 answer
  • Five varieties of software​
    13·1 answer
  • Please help 2 lazy to do! easy question
    10·1 answer
  • susan wrote the recursive formula for the sequence represented by the exploit formula An=3+2n. put an C net to any correct state
    13·1 answer
  • Page 1. I who invented computer?​
    9·1 answer
  • Sort the layout options for two types of masters in PowerPoint.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!