Write a program that prompts the user to input two POSITIVE numbers — a dividend (numerator) and a divisor (denominator). Your program should then divide the numerator by the denominator, and display the quotient followed by the remainder.Hint: If you use division (/) to calculate the quotient, you will need to use int() to remove the decimals. You can also use integer division (// ), which was introduced in Question 10 of Lesson Practice 2.3.Once you've calculated the quotient, you will need to use modular division (%) to calculate the remainder. Remember to clearly define the data types for all inputs in your code. You may need to use float( ) , int( ), and str( ) in your solution.float( ): Anything inputted by a user should be transformed into a float — after all, we are accepting ALL positive numbers, integers and those with decimals.int( ): When you divide the numerator and the divisor using /, make sure that the result is an integer.str( ): After using modular division, you can transform the quotient and remainder back into strings to display the result in the print() command.

Answers

Answer 1

Answer:

did you end up getting an answer

Explanation:


Related Questions

WILL MARK QUICKEST CORRECT ANSWER AS BRAINLIEST 11 PTS


Gary says, “Ports are where data enter a network before it reaches a gateway. The data travel via transmission media.”


Explain why Gary is right or wrong.



A) Gary is wrong. Ports are where connectors attach to destinations, not where data enter the network.


B) Gary is wrong. Gateways block data, so data don’t enter through them.


C) Gary is right.

Answers

Answer: Gary is wrong. Data do not travel via transmission media.

Answer:

the answer is Gary is wrong. Ports are where connectors attach to destinations, not where data enter the network.

Explanation:

correct on ed

Part 1 Create a program that asks the user for a temperature in Fahrenheit, and then prints the temperature in Celsius. Search the Internet for the correct calculation. Look at Chapter 1 for the miles-per-gallon example to get an idea of what should be done.

Part 2 Create a new program that will ask the user for the information needed to find the area of a trapezoid, and then print the area.

Part 3 Create your own original problem and have the user plug in the variables.

IN PYTHON

Answers

Answer:

Written in Python

import math

#1. Temperature Conversion

degreeF = float(input("Degree Fahrenheit: "))

degreeC = (degreeF - 32) * 5/9

print("Degree Celsius: "+str(round(degreeC,2)))

#2. Area of Trapezoid

Base1 = float(input("Base 1: "))

Base2 = float(input("Base 2: "))

Height = float(input("Height: "))

Area = 0.5 * (Base1 + Base2) * Height

print("Area: "+str(round(Area,2)))

#3. Addition of Two Numbers

Num1 = float(input("Number 1: "))

Num2 = float(input("Number 2: "))

print("Result: "+str(Num1 + Num2))

Explanation:

This line imports the math library

import math

Program 1 starts here

#1. Temperature Conversion

This line prompts users for input in degree Fahrenheit

degreeF = float(input("Degree Fahrenheit: "))

This line converts to degrees Celsius

degreeC = (degreeF - 32) * 5/9

This line prints the converted degree

print("Degree Celsius: "+str(round(degreeC,2)))

Program 2 starts here

#2. Area of Trapezoid

The next three lines prompts user for necessary inputs

Base1 = float(input("Base 1: "))

Base2 = float(input("Base 2: "))

Height = float(input("Height: "))

This line calculates the area

Area = 0.5 * (Base1 + Base2) * Height

This line prints the area

print("Area: "+str(round(Area,2)))

The third program begins here. I've decided to write a program that sums two numbers

#3. Addition of Two Numbers

The next two lines prompt user for inputs

Num1 = float(input("Number 1: "))

Num2 = float(input("Number 2: "))

This line calculates and prints the sum

print("Result: "+str(Num1 + Num2))

Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?​

Answers

Answer:

2p

Explanation:

if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p

After turning the volume all the way up on your speakers on your computer you still cannot hear any sound which of the following should be your next day? Should you replace your system speakers should you try to reinstall your sound card should you unplug your computer and plug it back in or should you check that your sound isn't muted?

Answers

Answer:

Shut your computer, and open it again. And if that doesn't work do it again

Explanation: The computer has done this before

What is Chris Records LifePreneur Online Educational Training Program?

Answers

Answer:

LifePreneur stands for Lifesyle Entrepreneur. When you take the word lifestyle and entrepreneur to combine them together, you get the brand, LifePreneur. This is the concept behind Chris Record's LifePreneur company.

Lifepreneur is the long-awaited legacy project founded by online serial-entrepreneur Chris Record. Chris currently lives in scorching hot Las Vegas which is fitting because everything online he gets involved in goes big league. Chris has helped tens of thousands of people to start their own online business, and has a true passion for helping everyone succeed.

Lifepreneur is a membership program that you can join to get training in various aspects of online marketing, training and advice and investing, live in-person mentorship from Chris Record himself, and more. It is a membership program that you can sign up for free and it's designed to help you grow into more than just a business entrepreneur… A Lifepreneur.

More info : reddit's /r/LifePreneur

What are technology trends in science check all that apply

Answers

Answer:

3D Printing Molecules.

Adaptive Assurance of Autonomous Systems.

Neuromorphic Computing (new types of hardware) and Biomimetic AI.

Limits of Quantum Computing: Decoherence and use of Machine Learning.

Ethically Trustworthy AI & Anonymous Analytics.

Explanation:

The European Union requires companies to:

a
erase user data when requested.
b
keep all data open source.
c
never sell data.
d
delete all personal customer data after two years.

Answers

Answer:

C is the correct

Explanation:

Why do you think there is activity even when you are not actively using network services?

Answers

Answer:

Every social media platform has an algorithm, and just because you aren't using it, doesn't mean others are not engaged!

Explanation:

Explain the following terms as used in word processin
(a)
Drop cap
(b) A superscript
An indent​

Answers

Answer:

A drop cap (dropped capital) is a large capital letter used as a decorative element at the beginning of a paragraph or section. The size of a drop cap is usually two or more lines.

a superscript is a character(s) half the height of a standard character and printed higher than the rest of the text.

In word processing, the word indent is used to describe the distance, or number of blank spaces used to separate a paragraph from the left or right margins.

how to write email abut new home your friend ​

Answers

Answer:

Start off with a greeting like Dear Sarah. Then you write a friendly body that tells about your home and describe it as much as you can and tell about what your bedroom theme is like and so on. Finally, top it off like a closing like Sincerely, Tessa.

Answer:

you start off by saying

Dear (name), talk about how your house is comforting and things like that... I hope thats what you were asking for.

Print the two-dimensional list mult_table by row and column. Hint: Use nested loops.

Sample output with input: '1 2 3,2 4 6,3 6 9':
1 | 2 | 3
2 | 4 | 6
3 | 6 | 9

Must be in Python

Answers

Answer:

m = int(input("Rows: "))

n = int(input("Columns:= "))

mult_table = []

for i in range(0,m):

    mult_table += [0]

for i in range (0,m):

    mult_table[i] = [0]*n

for i in range (0,m):

    for j in range (0,n):

         print ('Row:',i+1,'Column:',j+1,': ',end='')

         mult_table[i][j] = int(input())

for i in range(0,m):

    for j in range(0,n):

         if not j == n-1:

              print(str(mult_table[i][j])+" | ", end='')

       else:

              print(str(mult_table[i][j]), end='')

    print(" ")

Explanation:

The next two lines prompt for rows and columns

m = int(input("Rows: "))

n = int(input("Columns:= "))

This line declares an empty list

mult_table = []

The following two iterations initializes the list

for i in range(0,m):

    mult_table += [0]

for i in range (0,m):

    mult_table[i] = [0]*n

The next iteration prompts and gets user inputs for rows and columns

for i in range (0,m):

    for j in range (0,n):

         print ('Row:',i+1,'Column:',j+1,': ',end='')

         mult_table[i][j] = int(input())

The following iteration prints the list row by row

for i in range(0,m):

    for j in range(0,n):

         if not j == n-1:

              print(str(mult_table[i][j])+" | ", end='')

       else:

              print(str(mult_table[i][j]), end='')

    print(" ")

In this exercise we have to use the knowledge of computational language in python  to describe a code, like this:

The code can be found in the attached image.

To make it easier the code can be found below as:

m = int(input("Rows: "))

n = int(input("Columns:= "))

mult_table = []

for i in range(0,m):

   mult_table += [0]

for i in range (0,m):

   mult_table[i] = [0]*n

for i in range (0,m):

   for j in range (0,n):

        print ('Row:',i+1,'Column:',j+1,': ',end='')

        mult_table[i][j] = int(input())

for i in range(0,m):

   for j in range(0,n):

        if not j == n-1:

             print(str(mult_table[i][j])+" | ", end='')

      else:

             print(str(mult_table[i][j]), end='')

   print(" ")

See more about python at brainly.com/question/26104476

What is the World Wide Web?

A.
an information system where each document is linked to all other documents
B.
a large worldwide network of interconnected computers
C.
the collection of all online content you can access from your computer
D.
a worldwide social media network

Answers

Answer:

A an information system where each document is linked to all other documents

A. Am I formation system where each document is links Sri all other documents

When viewing the Mail Merge Recipients dialog box, what kinds of actions can you perform? Check all that apply. find recipient filter recipients print recipients sort column headings select/deselect recipients

Answers

Answer:

a,b,d,e on edg 2020

Explanation:

Answer:

Everything is correct except option 3/letter C.

Explanation:

A, B, D, and E

You are going to send a document to a client, and you want to be absolutely sure that none of the formatting is lost. Which of these document formats would be best?


A Permissions

B Orientation

C Margins

D Location

Answers

Answer:

Explanation:

A because they would not ruin your work and they have to ask your permission if they want to edit it.

Answer: A
Explanation:

1) An employer has decided to award a weekly pay raise to all employees by taking the square root of the difference between his weight and the employee’s weight. For instance, an employee who weighs 16 pounds less than the employer will get a $4 per week raise. The raise should be in whole dollars (an int). Write a class file that prompts the user for the employee and the employer weight. Please output the correct raise amount making sure that all inputs are included in the output statement.

Answers

Answer:

Written in C++

#include <iostream>

#include<cmath>

using namespace std;

int main(){

   int weight1, weight2, diff;

   cout<<"Employees Weight: ";

   cin>>weight1;

   cout<<"Employers Weight: ";

   cin>>weight2;

   diff = abs(weight1 - weight2);

   float pay = round(sqrt(diff));

   cout<<pay;

   return 0;

}

Explanation:

I've added the source file as an attachment where I used comments as explanation

An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours, plus any overtime pay.

Overtime pay equals the total overtime hours multiplied by 1.5 times the hourly wage.

Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee’s total weekly pay.

Below is an example of the program inputs and output:

Enter the wage: $15.50
Enter the regular hours: 40
Enter the overtime hours: 12

The total weekly pay is $899.0

Answers

wage = float(input("Enter the wage: $"))

regular_hours = float(input("Enter the regular hours: "))

overtime_hours = float(input("Enter the overtime hours: "))

print(f"The total weekly pay is ${(regular_hours * wage) + ((wage*1.5) *overtime_hours)}")

I hope this helps!

THIS IS PYTHON QUESTION
d = math.sqrt(math.pow(player.xcor() - goal.xcor(), 2) + math.pow(player.ycor()-goal.ycor(), 2))

here is the error message that I am getting when I run this using the math module in python: TypeError: type object argument after * must be an iterable, not int

Answers

Answer:

ok

Explanation:yes

Write a program which has your own versions of the Python built-in functions min and max. In other words, write the functions called maximum(aList) and minimum(aList) that do the job of the built-in Python functions max(aList) and min(aList)respectively. They should take a list as an argument and return the minimum or maximum element . Test your functions with the list [7, 5, 2, 3, 1, 8, 9, 4]. Hint: Pick the first element as the minimum (maximum) and then loop through the elements to find a smaller (larger) element. Each time you find a smaller (larger) element, update your minimum (maximum).

Answers

Answer:

def maximum(aList):

   highest = aList[0]

   for number in aList:

       if number > highest:

           highest = number

       

   return highest

def minimum(aList):

   lowest = aList[0]

   for number in aList:

       if number < lowest:

           lowest = number

       

   return lowest

print(maximum([7, 5, 2, 3, 1, 8, 9, 4]))

print(minimum([7, 5, 2, 3, 1, 8, 9, 4]))

Explanation:

Create a function named maximum that takes one parameter, aList

Initialize the highest as the first number in aList

Create a for loop that iterates through the aList. Compare each number in aList with highest. If a number is greater than highest, set it as new highest.

When the loop is done, return the highest

Create another function named minimum that takes one parameter, aList

Initialize the lowest as the first number in aList

Create a for loop that iterates through the aList. Compare each number in aList with lowest. If a number is smaller than lowest, set it as new lowest.

When the loop is done, return the lowest

Call the functions with given list and print the results

3.
State and explain any Three elements of control unit​

Answers

Answer:

There are two types of control units: Hardwired control unit and Microprogrammable control unit.

Explanation:

The components of this unit are instruction registers, control signals within the CPU, control signals to/from the bus, control bus, input flags, and clock signals.

Answer:

The control unit (CU) is a component of a computer's central processing unit (CPU) that directs the operation of the processor. It tells the computer's memory, arithmetic and logic unit and input and output devices how to respond to the instructions that have been sent to the processor.

The three elements of a control unit are :

Memory or Storage Unit.a control unit.ALU(Arithmetic Logic Unit)

Explanation:

Mark brainliest.

I have to drag it to the correct definition plz help!

Answers

Answer:

Copyright - 1

Derivative works - 4

Intellectual property - 3

Fair use - 2

Explanation:

1. Discuss data processing concepts and the representation of data in the computer


2. Explain how they work together to process data

Answers

Answer:

gkvjbdsvjnmfbhui jgbfdshjcxvabgsuciusgBFIULWGSfuRyt vqwyrgfgweVGYGTV7BWUIEGDWYUGDCYg

Explanation:

what is the output? there are no answer options and I'm completely lost.

>>>answer = "five times"

>>>answer[2:7] ​

Answers

The string answer = "five times"

All strings start at index 0 and end at the length of the string minus 1

So, if we count appropriately, index 2 is v and index 7 is m

answer[2:7] goes from v to m including v but not m, therefore,

answer[2:7] = "ve ti"

Work made for hire. If an employer asks an independent designer to create an illustration, the copyright to that artwork is owned by the employer. true or false?

Answers

Answer:

False

Explanation:

On the basis of the designer being "independent", the artworks copyright remains with the designer. Being independent requires contractual transfer of copyright in the event that its created for another person.

The answer would be false trust me I just did this and got it correct.

which of the following best describes compounds.
A. They can only be separated chemically
b. they are always liquid at room temperature
c. they contain the atoms of just one element
d. they have the same properties as their elements

Answers

A. They can only be separate chemically

Answer:

A.

Explanation:

Xcode, Swift, and Appy Pie are all tools for doing what?

writing code in C#

creating smartphone apps

creating apps to run on a desktop or laptop

writing code in Java

Answers

Answer:

creating smartphone apps

Explanation:

Xcode, Swift, and Appy Pie are all tools for creating iOS applications.

These tools are used for app development in the iOS platform which is a rival to the Android platform.

They are used to build the apps from scratch, develop and test them,

Answer:

smart phone apps

Explanation:

What do you mean by this statement,
“Life is not a grand harmony, Conflict exist. We must learn how to live with it, use it constructive and minimize it’s destructive aspect”.

Answers

Answer with Explanation:

The statement above means that life is not always about happy moments; rather, it also includes unhappy times which teaches us many lessons. People should be aware of this, so that they'd also look at the good side of unhappy/sad moments in life. For example, when a beloved person dies, it is natural for one to cry. However, it is also important to stand up after that experience and become even stronger. This is a constructive way of moving on with life. A destructive aspect would be, not being able to move on and being stuck on one's death without thinking about the future anymore.

The best explanation of the given statement is:

If there is mutual understanding, then this would help in the conflict resolution to minimize the destructive impact.

What is Mutual Understanding?

This refers to the ability of a person or multiple persons to be able to have different points of view but also to understand that one view is NOT absolute.

With this in mind, we can note that because life is not a grand harmony, there will always be conflict, but if there is mutual understanding, then this would help in the conflict resolution to minimize the destructive impact.

Read more about conflict resolution here:

https://brainly.com/question/2267795

Use the drop-down menus to complete the statements explaining the creation and management of an outline in Word 2016. The Outline view allows a user to add, expand, and collapse content in the document. Headers can be promoted or demoted in the outline by using the directional arrows or . Level 1 headings will appear in the pane.

Answers

Answer:

Heading and subheading

shortcut keys

navigation

Explanation:

i got it wrong and it showed

Answer:

Use the drop-down menus to complete the statements explaining the creation and management of an outline in Word 2016.

The Outline view allows a user to add, expand, and collapse

✔ heading and subheading

content in the document.

Headers can be promoted or demoted in the outline by using the directional arrows or

✔ shortcut keys

.

Level 1 headings will appear in the

✔ Navigation

pane.

Explanation:

In a singing competition, there are 34 more men than women
Find the number of women participants if the total number of
participants is 128.

Answers

Answer:

94 women are there

Explanation:

it is easy subtraction you only have to 128-34

Answer:

You have to start with 128 and then you subtract 34. Subtract them together and you get 94 participants. Isn't it that simple?

Write a program that asks the user to enter the size of a triangle (an integer from 1 to 50). Display the triangle by writing lines of asterisks. The first line will have one asterisk, the next two, and so on, with each line having one more asterisk than the previous line, up to the number entered by the user. On the next line write one fewer asterisk and continue by decreasing the number of asterisks by 1 for each successive line until only one asterisk is displayed. (Hint: Use nested for loops; the outside loop controls the number of lines to write, and the inside loop controls the number of asterisks to display on a line.) For example, if the user enters 3, the output would be:_______.a. *b. **c. ***d. **e. *

Answers

Answer:

Implemented using Python

n = int(input("Sides: "))

if(n>=1 and n <=50):

    for i in range(1,n+1):

         for j in range(1,i+1):

              print('*',end='')

         print("")

       

    for i in range(n,0,-1):

         for j in range(i,1,-1):

              print('*',end='')

         print("")

else:

         print("Range must be within 1 and 50")

Explanation:

This line prompts user for number of sides

n = int(input("Sides: "))

The line validates user input for 1 to 50

if(n>=1 and n <=50):

The following iteration uses nested loop to print * in ascending order

   for i in range(1,n+1):

         for j in range(1,i+1):

              print('*',end='')

         print("")

The following iteration uses nested loop to print * in descending order        

    for i in range(n,0,-1):

         for j in range(i,1,-1):

              print('*',end='')

         print("")

The following is executed if user input is outside 1 and 50

else:

         print("Range must be within 1 and 50")

Jose wants to convert his birth year from digital to binary. Which Python function should Jose use?
O bin(year)
O bin = year
O binary(year)
O digi(year)

Answers

The correct python function is bin() therefore,

bin(year) is the correct answer.

Other Questions
what type of economy is practiced by most states Hugo y yo ____________________ alumnos muy serios.What is the correct form is ser? A 50-year old man notices a hard spot just superior to the diaphragm that he has never had before.Should he be alarmed? Explain. Can someone help me do this I'm not good at this kind of math Read and choose the correct option to complete the sentence.A la madrina le gusta cuando toda la familia disfruta y se ren. Todos escuchan sus cuentos divertidos y ________. chistosos consentidos dbiles estrictos Can someone help me out with these problems? The mass of a golf ball is 45.9 g . If it leaves the tee with a speed of 61.0 m/s , what is its corresponding wavelength? Heres another one :( Question 5 of 10SO3 is an empirical formula for which of the following?A. S04B. S203C. S402D. S206 So far every answer I typed in was wrong so far in stuck. (Solve for c ) A line passes through the points (-6, 4) and (-2, 2). Which is the equation of the line? y= -1/2x + 1 y= 1/2x + 7 y= -2x - 8 y= 2x + 16 Illinois Furniture, Inc., produces all types of office furniture. The "Executive Secretary" is a chair that has been designed using ergonomics to provide comfort during long work hours. The chair sells for $130. There are minutes available during the day, and the average daily demand has been chairs. There are eight tasks: Task Performance Time (mins) Task Must Follow Task Listed Below A B C A, B D C E D F E G E H F, G This exercise only contains parts b, c, d, e, f, and g. b) The cycle time for the production of a chair = 9.23 minutes (round your response to two decimal places). c) The theoretical minimum number of workstations 6 (round your response up to the next whole number). d) The assignment of tasks to workstations should be: (Hint: Number workstations sequentially in terms of precedence relationships and combine any applicable tasks.) Task Workstation Number A Station 1 B Station 2 C Station 3 D Station 4 E Station 5 F Station 6 G Station 7 H Station 8 Were you able to assign all the tasks to the theoretical minimum number of workstations? No e) For this process, the total idle time per cycle = nothing minutes (enter your response as a whole number). During the first 3 week of training, a runner runs 20 miles, 22 miles, and 21 miles. How many more miles must she run during the fourth week to have a mean of a least 22 miles per week? Esther applies a translation of 4 units up and 6 units to the right to create W'X'Y'Z'. What are the coordinates of Z'? How do I walk please help I cant walk Im in bed and I can move What is the density of a sample of the alloy pewter, (a mixture of tin and copper or lead) if a 7.11 cm3 sample has a mass of 53.137g? select 3 ratios that are equivalent to 8:20 Where did Emory make an error? Need help with these Which decisions made by King George III angered colonists following the French and Indian War? Select two (2). A. Removing Governor James Wright. B. Freeing the slaves that were located in Georgia. C. Putting the Liberty Boys in jail for their actions at a rally. D. Increasing taxes and fees on everyday goods in order to help pay for the war. E. Telling colonists they cannot go west of the Appalachian Mountains.