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
Svetach [21]
3 years ago
14

Write a program that asks the user to enter a whole number then outputs a 0 if the number is even or a 1 if the number is odd. (

pseudocode)
Computers and Technology
1 answer:
12345 [234]3 years ago
7 0

Answer:

What language?

Explanation:

You might be interested in
Which of the following characters is not allowed for java variable names
Rainbow [258]
The variables must begin with a letter of the alphabet, a dollar sign or a underscore. After the first character you may add numbers as well. All special characters besides the dollar sign and underscore and not allowed in variables.
8 0
3 years ago
Drag each statement to the correct location.
VMariaS [17]

Answer:

(a)\ 222_{10} = DE_{16} --- True

(b)\ D7_{16} = 11010011_2 --- False

(c)\ 13_{16} = 19_{10} --- True

Explanation:

Required

Determine if the statements are true or not.

(a)\ 222_{10} = DE_{16}

To do this, we convert DE from base 16 to base 10 using product rule.

So, we have:

DE_{16} = D * 16^1 + E * 16^0

In hexadecimal.

D =13 \\E = 14

So, we have:

DE_{16} = 13 * 16^1 + 14 * 16^0

DE_{16} = 222_{10}

Hence:

(a) is true

(b)\ D7_{16} = 11010011_2

First, convert D7 to base 10 using product rule

D7_{16} = D * 16^1 + 7 * 16^0

D = 13

So, we have:

D7_{16} = 13 * 16^1 + 7 * 16^0

D7_{16} = 215_{10}

Next convert 215 to base 2, using division rule

215 / 2 = 107 R 1

107/2 =53 R 1

53/2 =26 R1

26/2 = 13 R 0

13/2 = 6 R 1

6/2 = 3 R 0

3/2 = 1 R 1

1/2 = 0 R1

Write the remainders from bottom to top.

D7_{16} = 11010111_2

<em>Hence (b) is false</em>

(c)\ 13_{16} = 19_{10}

Convert 13 to base 10 using product rule

13_{16} = 1 * 16^1 + 3 * 16^0

13_{16} = 19

Hence; (c) is true

7 0
2 years ago
WordArt styles allow you to add ____.
maria [59]
As for this problem, the most probable and the most likely answer to this would be it depends on the person or the user of it since there aren't any options presented with the problem.

WordArt is there to be of use during presentations, during discussions, and other things. On the other hand, as the technological advancement takes leaps and bounds going forward, this utility seems to be underused and isn't expected to give a more impact to the reader or to the recipient of such document that contains it. This is typically used for people that aren't too familiar yet, as to how to utilize other programs to enhance their documents and files.
3 0
3 years ago
Write a python program to calculate the length of any string recursively​
Solnce55 [7]

Answer:

b

Explanation:

6 0
2 years ago
What are the primary functions of motor oil? a. Reduce friction and prevent wear b. Keep engine surfaces clean c. Remove heat to
ryzh [129]

The answer is E: all of the above.

7 0
3 years ago
Other questions:
  • Within the hardware of the personal computer temporary memory is known as
    10·2 answers
  • Approximately what percent of desktop PCs are used for work-related purposes?
    12·1 answer
  • Which of the following is a typical concern for developers while using prototypes?
    6·2 answers
  • True or false: Your digital footprint is all the information about you online that only you post. Group of answer choices
    12·2 answers
  • Good afternoon guys !!!
    14·2 answers
  • The main parts of a lever are the....
    6·2 answers
  • A) A cable that is mainly used in the cable television network
    11·1 answer
  • Write a SELECT statement that selects all of the columns for the catalog view that returns information about foreign keys. How m
    6·1 answer
  • Your company decided to upgrade the older office Ethernet network and needs the fastest speed possible but has decided against f
    8·1 answer
  • Who is the best Attack on Titan Character?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!