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
professor190
1 month ago
11

Edhesive 2.3 code practice question 1​

Computers and Technology
1 answer:
Harlamova29_29 [932]1 month ago
8 0

Answer:

a=int(input("Please input a numerator: "))

b=int(input("Please input a divisor: "))

quotient=a/b

remainder=a%b

print("The quotient is: " + str(int(quotient)))

print("The remainder is: " + str(int(remainder)))

Explanation:

I hope this aids you:)

You might be interested in
Currently, this program will add 6 and 3 together, output the math problem and output the answer. Edit this code so that a rando
8_murik_8 [892]

I have attached my code in the image below. Good luck.

6 0
1 month ago
Imagine you have a friend who does not know much about programming or HTML, but wants to design his own web page. He has decided
ivann1987 [930]
Advise him to create a website about a topic that interests him... this will make it more enjoyable, and he won’t feel like he’s just "working on that project again." If he is a beginner, I would suggest sticking to basic HTML without delving into JavaScript or other complexities.
8 0
10 days ago
Coretta is thinking about which careers she would enjoy. She considers her personal skills and interests. She enjoys reading and
8_murik_8 [892]

Answer:

zoologist

Explanation:

5 0
1 month ago
Read 2 more answers
Would two bits be enough to assign a unique binary number to each vowel in the English language? Explain.
Harlamova29_29 [932]

Response:

No.

Clarification:

Since there are 5 vowels, at least 3 bits are necessary to represent them all. Utilizing 2 bits yields 2²=4 combinations, which isn’t enough. However, using 3 bits provides 2³=8 combinations, sufficiently covering the 5 vowels.

3 0
1 month ago
. Write a statement that throws an IllgalArgumentException with the error message Argument cannot be negative.
maria [879]

Answer:

public class PostAccount

{

  public void withdraw(float savings)

  {

     if (savings >=0 )

     {

        IllegalArgumentException exception

              = new IllegalArgumentException("Savings cannot be negative");

        throw exception;

     }

     balance = savings - withdraw;

  }

 }

Explanation:

An IllegalArgumentException is categorized as a NumberFormatException  of runtime exceptions. The code snippet demonstrates an instance of creating an IllegalArgumentException object, which is subsequently raised to indicate when the condition specified is not fulfilled.

8 0
8 days ago
Other questions:
  • A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To ac
    11·2 answers
  • Susan is assisting a web designer to create a promotional web page on eco-friendly classroom designs. She uses color combination
    5·1 answer
  • Charlie has a large book collection. He was keeping track of it in a spreadsheet, but it has grown big enough that he wants to c
    10·1 answer
  • Sarah works in a coffee house where she is responsible for keying in customer orders. A customer orders snacks and coffee, but l
    13·2 answers
  • Remember for a moment a recent trip you have made to the grocery store to pick up a few items. What pieces of data did the Point
    10·1 answer
  • Assume that getPlayer2Move works as specified, regardless of what you wrote in part (a) . You must use getPlayer1Move and getPla
    14·1 answer
  • (Java) Which of the following code segments correctly declare a Strings and gives it a value of "fortran".
    12·1 answer
  • Someone else can drive your car if _____.
    12·2 answers
  • A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule als
    12·1 answer
  • Consider a one-way authentication technique based on asymmetric encryption: A --> B: IDA B --> A: R1 A --> B: E(PRa, R1
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!