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]
2 years ago
8

Question 1

Computers and Technology
1 answer:
Margaret [11]2 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
Why should cloud computing not be a set of silos? Provide real or made up examples of why incompatible solutions will fail in IT
lesya [120]
2 is tha answer to Why should cloud computing not be a set of silos? Provide real or made up examples of why incompatible solutions will fail in IT.?
8 0
3 years ago
4. Explain the term prejudice. What is an example of prejudice as it relates to parenting?
lara [203]
An unfavorable opinion or feeling formed beforehand or without knowledge, thought, or reason.
2.
any preconceived opinion or feeling, either favorable or unfavorable.
3.
unreasonable feelings, opinions, or attitudes, especially of a hostile nature, regarding an ethnic, racial, social, or religious group.
4.
such attitudes considered collectively:
The war against prejudice is never-ending.
5.
damage or injury; detriment:
a law that operated to the prejudice of the majority.
7 0
3 years ago
While traveling in India, Sabina notes all of her daily expenses in rupees in her spreadsheet. At the end of the day, she wants
Contact [7]
Use currency conversion dialog box select rupee to us dollar
8 0
3 years ago
Which of the following sorting algorithms is described by this text? "Take the item at index 1 and see if it is in order compare
trasher [3.6K]

Answer:

b. selection sort

b. 8 11 17 30 20 25

Explanation:

The options above are the correct answers to the given questions.

Selection sort is a simple comparison-based sorting algorithm.

selection sort. (algorithm) Definition: A sort algorithm that repeatedly searches remaining items to find the least one and moves it to its final location. The run time is Θ(n²), where n is the number of elements. The number of swaps is O(n).

It is this sorting algorithm that will best ne suitable in the given event.

7 0
3 years ago
The diagram shows the parts of a computer. In which part is data processing done?
notsponge [240]
  • control unit mainly processes tasks and most resources are managed here in the computer system.

  • central processing unit, ( CPU ) where most of the data processing is done and executes instructions.
3 0
2 years ago
Other questions:
  • 1. Type a statement that reads a user-entered integer into variable numUsers. Assume scnr already exists.
    13·1 answer
  • Suppose that a machine with a 5-stage pipeline uses branch prediction. 15% of the instructions for a given test program are bran
    13·1 answer
  • Which image property helps to create distinction between the highlights and shadows of an object?
    14·2 answers
  • What is one of the most effective security tools available for protecting users from external threats?
    15·1 answer
  • As part of a team, you are assigned to create a financial report. One of your tasks is to put the pieces together as other team
    5·1 answer
  • What console can be used to enable disable start or stop a service
    6·1 answer
  • It is used to select specific menu options, drag and drop options and to draw something on screen.
    6·1 answer
  • Which kind of image is indispensable and needs added text to go with ?
    12·1 answer
  • Create a text file content.txt and copy-paste following text (taken from Wikipedia) into it: A single-tasking system can only ru
    7·1 answer
  • For each problem listed below, use the drop-down menu to select the field of the professional who can help solve the issue.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!