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
Mashutka [201]
2 years ago
10

Write a program that prompts the user for two numbers then outputs the result of dividing the first number by the second number

Computers and Technology
1 answer:
Rainbow [258]2 years ago
5 0

The program is

num = int(input("Enter Numerator "))

den = int(input("Enter Denominator "))

print("quotient is ",str(num//den)," remainder is ", str(num%den))

<h3>How to create a division sign in HTML?</h3>

To create a division sign ( ÷ ) in HTML you can use any of the following codes.

&divide;

&div;

&#247;

<h3>How to divide in computer programming?</h3>

Perl code

use strict;

my $first = 15;

my $second = 5;

my $answer = $first / $second;

print "You get $answer if you divide $first by $second";

When the script above is run, it displays "You get 3 if you divide 15 by 5" on the screen.

To learn more about programming, refer

https://brainly.ph/question/4743

#SPJ4

You might be interested in
A 1 MB digital file needs to transmit a channel with bandwidth of 10 MHz and the SNR is 10 dB. What is the minimum amount of tim
hodyreva [135]

Answer:

A 1 MB digital file needs 0.23 seconds to transfer over a channel with bandwidth 10 MHz and SNR 10 dB.

Explanation:

We can calculate the channel capacity using Shannon's Capacity formula:

C = B + log₂ (1 + SNR)

Where C = Channel Capacity

           B = Bandwidth of the Channel

           SNR = Signal to Noise Ratio

We are given SNR in dB so we need to convert it into a ratio.

SNR_{dB} = 10log₁₀ (SNR)

10 = 10log₁₀ (SNR)

1 = log₁₀ (SNR)

SNR = 10¹

SNR = 10

So, using Shannon Channel Capacity formula:

C = 10 x 10⁶ log₂ (1 + 10)

C = 34.5 MHz

Total amount of time required to transmit a 1MB file:

1MB = 1 x 8 Mbytes = 8Mb

C = 34.5 MHz = 34.5 Mb/s

Time required = 8Mb/34.5Mb/s = 0.23 seconds

A 1 MB digital file needs 0.23 seconds to transfer over a channel with bandwidth 10 MHz and SNR 10 dB.

8 0
3 years ago
Modify your main.c file so that it allocates a two dimensional array of integers so that the array has 20 rows of 30 integers in
Alexandra [31]

Answer:

Explanation:

b

7 0
3 years ago
Q. 2. What will be the output of the following code?<br> //printf("Hello\n");<br> printf("Girls");
loris [4]

Answer:

Just two outputs \n a line break so:

Hello

Girls

4 0
3 years ago
Which two statements show cultural effects of computers and the Internet?
padilas [110]

Answer:

I think it is A,  Melissa says "LOL" instead of laughing at a joke her friend told.

5 0
3 years ago
In understanding "controlling for" a third variable, which of the following is a similar concept? a. Conducting a replication b.
nordsb [41]

Answer:

D) Identifying Subgroups

Explanation:

In data Analytics, a third variable also known as a confounding variable, is a variable that "sits in-between", it has influence on both the independent variable and dependent variable. If this "third variable" is not properly handled, the result of the anlysis will yeild incorrect values. identifying subgroups in a dataset is important for undertanding it

7 0
3 years ago
Other questions:
  • You work for a large enterprise company that handles time-sensitive information. Your supervisor has asked that you set up a con
    8·1 answer
  • What are the advantage of transistors over vacuum tubes?
    6·1 answer
  • Write a method named showChar. The method should accept two arguments: a reference to a String object and an integer. The intege
    6·1 answer
  • Jacinta registered herself on a social-networking site. She receives one or two emails every day about promotional offers as wel
    5·1 answer
  • 8.Which of the following IC was used in third generation of computers?Immersive Reader
    13·1 answer
  • This is just for the points
    15·2 answers
  • In a PC, which of the following components stores the BIOS
    6·1 answer
  • 1 cup coffee cream = ____ tbsp butter plus ____ c milk
    11·1 answer
  • What is the recipe for enchanting table?
    14·2 answers
  • if you dont' have access to nessus, which of the following can be used by an attacker to gain information about remote *nix host
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!