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:

yes

Explanation:


Related Questions

Describe the type of gameplay seen during early video games (ex. Spacewar!, Pong).

Answers

Answer:

Computer scientists began building rudimentary games and simulations on mainframe computers in the 1950s and 1960s, with MIT's Spacewar! in 1962 being one of the first such games to be played with a video display. The first consumer-ready video game hardware arrived in the early 1970s, with the Magnavox Odyssey, the first home video game system, and the first arcade video games from Atari, Computer Space and Pong, the latter of which was later transformed into a home console version. Pong's success in arcades and at home prompted numerous firms to create clones of the game, resulting in a market contraction in 1978 owing to oversaturation and a lack of innovation.

Explanation:

Which of the following developed technologies has NOT greatly increased the speed of information dissemination? A. Smartphones B. E-mail C. Typewriter D. Teleconferencing.

Answers

Answer:Email

Explanation:

Answer:

The answer would be C

Explanation:

You are able to add Sheets to your workbook by pressing the + button by the sheet tabs.

O True

O False

Answers

Answer:

True

Explanation:

how does the operating system coordinate the work of hardware and software?

Answers

Answer:

As the OS coordinates the activities of the processor, it uses RAM as a temporary storage area for instructions and data the processor needs. ... Programs called device drivers facilitate communication between devices attached to the computer and the OS.

How will you select the range of cells in excel . ​

Answers

Answer:

just left click the cell that you want and drag your mouse towards how much you want to select I guess

Answer:

To select a range, select a cell, then with the left mouse button pressed, drag over the other cells. Or use the Shift + arrow keys to select the range. To select non-adjacent cells and cell ranges, hold Ctrl and select the cells.

Explanation:

a ____________ is the intersection of a column and row in an excel spreadsheet.

Answers

Answer:

a cell is the intersection of a column and row in an excel spreadsheet.

When setting up a project timeline for a computer lab, which of the following should not be taken into consideration?
time to install software
time to set up the network
time to purchase items
time for maintenance

Answers

Answer: It depends on where you are how far the place where you are going to purchase the items and also it depends if your a fast builder or not

but if you are quick it shouldnt take so long just depends on you.

Explanation:

the envelope method, notebook and pencil, and online software are all methods of ______.

Answers

Answer:

tracking your spending.

The envelope method, notebook and pencil, and online software are all methods of tracking your spending as per the given situation. The correct option is C.

What is software?

A set of instructions, data, or programs used to operate computers and carry out specific tasks is referred to as software. It is the inverse of hardware, which describes the physical characteristics of a computer.

Inner needs to track spending in personal and business activities in order to know financial status and budget effectively with available funds.

Without tracking spending, there is a risk of waste and overspending on unimportant items.

The envelop method entails putting money in different envelops for each category of spending. At the end of the period, you can check the envelops to see how much money was spent in each category.

Keeping track of expenses requires a notebook and a pencil.

QuickBooks online software can be used to track how much an individual or business has spent.

Thus, the correct option is C.

For more details regarding tracking the spend, visit:

https://brainly.com/question/14511380

#SPJ5

Your question seems incomplete, the missing options are:

estimating your unexpected expensesplanning for your futuretracking your spendingunderstanding your current expenses

Artificial intelligence (AI) and machine learning are especially important during which security information and event management (SIEM) task?

Answers

Answer:

hueiweke

Explanation:

Artificial intelligence (AI) and machine learning are especially important during analysis and report review security information and event management (SIEM) task. Thus, option (b) is correct.

What is management?

The term “management” refers to the act of managing. The management of the business activities. Management is the basis of art, science, and the profession. Management are they manage the organization. Management are based of the different functions are the step by step.

According to the security information and event management (SIEM) task. There are the artificial intelligence and the learning are the significant review in the information of the task in the management. There was the analysis of the past daily report.

As a result, the artificial intelligence (AI) and machine learning are especially significant during analysis and report review security information and event management (SIEM) task.

Learn more about on management, here:

https://brainly.com/question/29023210

#SPJ2

Your question is incomplete, but most probably the full question was.

A.) Packet capture.B.) Analysis and report review.C.) Data aggregation.D.) Log collection.

Explain what is Piaget and What is Cooperative problem solving.

Answers

Piaget maintained that opportunities for becoming less egocentric are more common when children discuss things with each other because then they must face the fact that not everyone has the same perspective on a situation.

hope it helps

What are some positive and negative impacts of computer science changing how we work, where we work and when we work?​

Answers

Answer:

Using those tools, computer science allows us to predict hurricanes, tornadoes, or even the outbreak of a potentially fatal disease. It can even be used to predict human behavior, which can help prevent crimes. Computer science can provide us with some life-saving tools and work.

Explanation:

what is the difference between registered and certified mail

Answers

Answer:

1. Certified mail provides a receipt for the sender and for an additional fee, will receive a copy of the recipient's signature upon his receipt of the mail.

2. registered mail provides the sender a receipt and detailed records of his mail's location.

who has played pokemon red, blue, or yellow on the gameboy

Answers

Answer:

I didn't think this would be an actual question... I did- :3

I have, it gets harder near the end

Basic computer programs used by a variety of companies include:

Spreadsheets

Podcasts

iTunes

Videos editing

Pick one please

Answers

Answer:

spreadsheets

Explanation:

every company uses spreadsheets because they are used to list and organize data easily

On a Windows system, which Task Manager tab would you use to adjust the priority given to a specific program

Answers

Change priority from the Details tab. Press Ctrl + Shift + Esc to start Task Manager. Go to the Details tab, right-click the desired process, and choose Set priority and select any value that you want.

Which objects appear on the slide after she clicks ok? Check all that apply.

Answers

Answer:

A table with sample values

A chart with sample values

Explanation:

Answer:

I don’t know I just need points

Explanation:

____ is Windows XP system service dispatch stubs to executables functions and internal support functions.

Answers

Answer:

Ntdll.dll is Windows XP system service dispatch stubs to executables functions and internal support functions.

You can point your router to a DNS server for name resolution simply by configuring the ____ command.

Answers

You can point your router to a DNS server for name resolution simply by configuring the IP name-server command:  IP name-server.

DNS is an abbreviation for domain name system and it refers to a naming database in which internet domain names or website URLs are stored and translated into their respective internet protocol (IP) address.

Hence, a domain name system (DNS) is used to connect a uniform resource locator (URL) or a web address with its internet protocol (IP) address.

In Computer Networking, when an IP name-server command is configured on a router, it enables the user the ability or opportunity to point it to a domain name system (DNS) server for name resolution or translation into an internet protocol (IP) address.

Read more: https://brainly.com/question/17273205

An electronic element that stores data by changing its resistance based on the current that has passed through it (similar to RRAM) is called a(n) ___ .

Answers

Computer data storage

An electronic element that stores data by changing its resistance based on the current that has passed through it, similar to RRAM (Resistive Random Access Memory), is called a Memristor.

What is memristor

The term "memristor" is a combination of "memory" and "resistor," indicating its ability to retain information based on its resistance state.

Memristors are considered a fourth fundamental passive circuit element, alongside resistors, capacitors, and inductors.

Learn more about electronic element at

https://brainly.com/question/24977425

#SPJ2

If you want to excel in the field of web design, what must you be able to make and keep?
price estimates
statement of work
final deadlines
promises

Answers

Answer:

You  need to beable to make final deadlines because maybe if your adding divs or maybe something takes a bit long for you to do you need to give the person your working for an idea of what and why you may take long to get your website polished.

Explanation:

Answer:

B. final deadlines

Explanation:

edg 2021 (got 100%)

¿Cuáles son las dos ideas que confrontan en la "Revolución Tecnológica", cuando se refieren a la producción?

Answers

Answer:

._.  dont know spanish

Explanation:

Debug big tower can someone help me

Answers

Answer:

2

Explanation:

2 is because that what i think

Answer:its c

Explanation:

because thts wht i thinl

There are many reasons why interpersonal communications may fail. While communicating, the message may not be received exactly the way the sender intended and therefore it is important that the communicator seeks to check that their message is clearly understood.
(a) Description
(b) Feedback
(c) Channel
(d) Sign ​

Answers

Answer:

a

Explanation:

description of the message to communicate

The information given illustrates feedback.

Feedback in communication simply means the response of the audience. It should be noted that feedback is important in order to know the effectiveness of one's message.

In a situation where the message may not be received exactly the way the sender intended, this implies that the feedback has been affected in this situation.

Read related link on:

https://brainly.com/question/25709466

which file access access flag do you use to open a file when you want all output written to the end of file's contents

Answers

Answer:

ios::app

Explanation:

what is one benefit of utilizing social media to deliver advertising messages?

Answers

Answer:

Increased Brand Awareness.

Explanation:

Social media is one of the most cost-efficient digital marketing methods used to syndicate content and increase your business' visibility. Implementing a social media strategy will greatly increase your brand recognition since you will be engaging with a broad audience of consumers.

Answer:

An organization can test ads and promotions before bringing them to traditional media.

Explanation:

Rajesh is considering whether to use a web app to collaborate with a group of friends on a project. What is one reason he should avoid using a web app for the project

Answers

Rajesh might want to avoid the use of a web app for the project due to connectivity issues. Hence, one reason he might want to avoid using the Webb app is slow or poor internet connection.

Collaborating on a web application relies very heavily on network connectivity which is the what establishes the link ms allows the apllications to achieve optimum performance.

Therefore, slow internet connection is a major reason whuhe might want to avoid using a web app.

Learn more : https://brainly.com/question/25531734

After determining that a printer is unable to print in red ink, you replace the magenta cartridge. Upon attempting to print again, you discover the problem still exists. What would be the NEXT logical step

Answers

Answer:

Make sure your yellow cartridge also has ink.  

Explanation:

Also make sure yellow cartridge also has ink. Mixture of Mag and Yellow will give you red.  If still does not work, depending upon your printer, try going to the setup and try running Print Quality diagnostics.  Run it few times and see if it helps.

The logical step that follows with the replacement of the magenta cartridge for not printing the red ink is the cleaning of the printer head.

What is the function of a printer?

The Printer is used to transfer the graphics output from the system and create the output to the paper. It uses a cartridge to perform the printing with the help of ink.

The printer uses the ink in the cartridge to form the representation of the color on the paper. In case the red ink is not printable, and the issue did not get resolved with the change in the magenta cartridge, the next logical step involves the cleaning of the printer head.

Learn more about the cartridge, here:

https://brainly.com/question/13504303

#SPJ2

how many pokemon games have you all played i've played 14

Answers

Answer: Too much to count.

Explanation:

so i've played
Pokémon Brilliant Diamond
Pokémon Unite
Pokémon Café Mix
Pokémon Sword and Shield
Pokémon Masters EX
Pokémon: Let's Go, Pikachu!
Pokémon Quest
Pokémon Ultra Sun
Pokémon: Magikarp Jump
Pokémon GO
Pokémon Omega Ruby
Pokemon X
Pokémon Black and White
Pokémon HeartGold
Pokémon Battle Revolution
Pokémon FireRed
and Pokémon Stadium
so 19 individual games

SOMEONE WHO ACTUALLY KNOW HOW TO DO THIS PLEASE DO IT AND SEND A SCREENSHOT I REALLY NEED IT FOR MY EXAMS AND DONT TROLL ​

Answers

What computer do you own?

Which insert image option allows a user to compile, modify, and add captions to images?

Answers

Answer:

c. Photo Album is correct

Explanation:

Other Questions
Which expression is equal to 13/14? -13/14-13-14-14-13-14/13 A ______________ utility provides an overview of your files and lets you rename, delete, move, and copy files and folders. A triangle has vertices (1,4),(1,1),and (-3,1). The triangle is dilated by a scale factor of two, then translated five units up, and then rotated 90 counterclockwise about the origin. What are the first roles of the image of the triangle? I. Write the plural form of the nouns1. Boy 2. Mouse 3. Board 4. Shelf 5. Sheep 6. Dictionary 7. Child8. Knife9. Book 10. Piano 1. Beth is buying 3 pounds of chicken thighs for $1.29 per pound. How much will she pay?How many servings will the thighs provide? (4+6)/(21) simplified Can a country have a right to use citizens under 18 as soldiers to fight in a war? Why or why not? I need this answer also. As fast as possible!!! Please please write a quadratic equation for the points (2,0) and (12,5). make sure to include the axis and five points used to graph the parabola Help please Ill mark blainlist ________ is a meditative procedure that is especially useful in controlling discomfort related to cancer. 10. Based on their valence electrons, how manyatoms of chlorine are expected to bondwith each of the following elements?a. carbonb. nitrogenc. aluminumd. sulfur What's 1 + 1 = ?i forgot- Can someone help me with this chemistry question please? Choose the best Spanish word to complete the sentence. ________ las dos y veinte. Es Son Est Estn. What is the proper definition for abiotic? The woman _________lives next door to us is a doctor. *A. thatB. whomC. whoD. A and C also need help with this one Need help on this other question, sorry to keep bothering you guys. What is the probability that a positive integer not exceeding 100 selected at random is divisible by 3