answer.
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
Step2247 [10]
2 years ago
11

Edhesive 3.4 question 2

Computers and Technology
2 answers:
Ivanshal [37]2 years ago
7 0
Where is the question
Shalnov [3]2 years ago
7 0

Answer:

numerator = float(input("Enter a numerator: "))

denominator = float(input("Enter a demoninator: "))

if (denominator != 0):

   print(numerator / denominator)

else:

   print ("Error - cannot divide by zero.")

Explanation:

"numerator" is the variable for the numerator, same applies to the "denominator".

The if command states that if the denominator is not zero, it will divide the numerator by the denominator. The if command will divide with any denominator but 0.

The else command comes in when you input a 0 as a denominator, hence printing "Error - cannot divide by a zero."

You might be interested in
If you want more blank white space around the text in a document, you should increase the ____________.
Hatshy [7]

If you want more blank white space around the text in a document, you should increase the margin.  Correct answer: B

The margin is the area between the main content of a page (in this case that is the text) and the page edges. One-inch page margin is set automatically around each page. However,  you can customize or choose predefined margin settings.

3 0
2 years ago
Read 2 more answers
6. Write pseudo code that will perform the following. a) Read in 5 separate numbers. b) Calculate the average of the five number
Alex

Answer:

Pseudo CODE

a)

n= Input “Enter 5 integer value”

b)

sum=0.0

For loop with i ranging from 0 - 5

Inside loop sum=n[i]+sum

Outside loop avg= sum/5

Print avg

c)

small=n[0] # assume the first number in the list is smallest

large= n[0] # assume the first number in the list is largest

For loop with i ranging from 0 - 5

Inside loop if n[i]<small #if any another number is smaller than small(variable)

Inside if Then small=n[i]

Inside loop if n[i]>large # if any another number is larger than large(variable)

Inside if then large=n[i]

Print small

Print large

d)

print avg

print small

print large

8 0
2 years ago
Write a script to check command arguments (3 arguments maximum). Display the argument one by one. If there is no argument provid
serious [3.7K]

Answer:-args (

if:args=true

-cont

if:args=false

-cont investigating

if:args=irrelevance

-loop restate args

)

compile exec

Explanation:

7 0
2 years ago
Before buying his 12-year-old daughter her very own cell phone and laptop complete with internet access, John requires her to co
Ratling [72]

Answer:

D.

Explanation:

brainliest?

5 0
2 years ago
Match the job titles to the tasks
bija089 [108]

creates storyboards based on clients’ needs- Animator


assesses proposals for airplane designs to determine if they meet standards- Aeronautical engineer


uses special equipment and techniques to capture images- Commercial Photographer


creates software code, graphics, and multimedia elements for websites- Webpage designer

5 0
2 years ago
Read 2 more answers
Other questions:
  • 1. A pure aggregator is best defined as a blog that
    9·1 answer
  • Write the 8-bit signed-magnitude, two's complement, and ones' complement representations for each decimal number: +25, + 120, +
    11·1 answer
  • Mathematical computations by a computer are faster than your quickest mathematical computations because the top speed of a neura
    13·1 answer
  • If a user was complaining about a "slow computer" due to a program that uses a significant amount of memory, what part or parts
    15·1 answer
  • When configuring a record type, an App Builder can configure the available value of a picklist field for the page layout. Which
    9·1 answer
  • Print "userNum1 is negative." if userNum1 is less than O. End with newline Convert userNum2 to 0 if userNum2 is greater than 8.
    10·1 answer
  • A time-saving strategy that helps define unfamiliar words involves using
    13·2 answers
  • When considering server consolidation, plan on running ___________ vCPUs per core.a. 1 to 2b. 3 to 4c. 4 to 6d. 6 to 8
    7·1 answer
  • Which are types of lines? Choose three answers.
    9·1 answer
  • Choose the correct function to convert the user’s response to the number 3.5. &gt;&gt;&gt; answer = input("How much does the sam
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!