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
luda_lava [24]
3 years ago
15

You have been hired by an educational software company to create a program that automatically calculates the sum of each place-v

alue of two numbers. You can assume that the user of this program will only enter positive whole numbers greater than zero and less than 10,000.

Computers and Technology
1 answer:
Vinvika [58]3 years ago
4 0

Hi, you haven't provided the programing language, therefore, we will use python but you can extend it to any programing language by reading the code and the explanation.

Answer:

n1 = int(input("First numeber: "))

n2 = int(input("Second numeber: "))

for i in range(5):

   r1 = n1%10

   r2 = n2%10

   print(r1+r2)

   n1 = n1//10

   n2 = n2//10

 

Explanation:

  1. First, we ask for the user input n1 and n2
  2. We create a for-loop to calculate the sum of each place-value of two numbers
  3. We obtain the last number in n1 by using the mod operator (%) an the number ten this way we can always take the last value, we make the same for n2
  4. Then we print the result of adding the last two numbers (place value)
  5. Finally, we get rid of the last value and overwrite n1 and n2 to continue with the process

You might be interested in
How large must a group of people be in order to guarantee that there are at least two people in the group whose birthdays fall i
antoniya [11.8K]

Answer:

d) 13 people

Explanation:

According to the Pigeonhole Principle, it states that given that several X commodities are placed into Y containers, and the number of X commodities is greater than the number of Y containers, then there will be a minimum of one Y container having more than one X commodities.

Hence, in this case, since the month is 12 in numbers, then to have at least two people in the group whose birthdays fall in the same month, the group must be at least 13 people.

3 0
3 years ago
How can variables be used to make code easier to write and read
kifflom [539]

Answer:

i need help om this someone plz answer

Explanation:

6 0
3 years ago
Does any one know how to get an image from another site pasted onto this site?
elixir [45]
You're not supposed to copy things from other sites so it won't be easy to do. But you can save the image to your computer then upload it here using the paperclip icon. 
3 0
3 years ago
The privilege-based issuance model provides for the ongoing qualification of individuals by testing, and for the ongoing monitor
Lina20 [59]

Answer:

True

Explanation:

Truly, the privilege-based issuance model provides for the ongoing qualification of individuals by testing, and for the ongoing monitoring of driver performance.

7 0
3 years ago
​All of the following are important to the quality of a well-designed website EXCEPT _____.
nasty-shy [4]

Answer: B) Lack of caption

Explanation:

 All the given options are important in terms of quality of a well design websites except lack of caption. As, lack of caption may result in reduce efficiency and quality of the content.

Caption is define as title in the content of any website, which basically describe the brief description about the whole content. It illustrate the content briefly in the website. Therefore, this feature is important for designing the website.

Therefore, option (B) is correct.

6 0
4 years ago
Other questions:
  • Which of the following has likely attended vocational school?
    10·1 answer
  • What are some ways to accomplish full-duplex (FDX) digital communications on guided medium at the physical layer (OSI Layer 1)?
    7·1 answer
  • Should i change my profile pic<br> dont delete
    15·2 answers
  • Which route of entry could chemicals use to enter through the body’s airways?
    8·1 answer
  • Which was the first computer brought in nepal?<br>​
    7·2 answers
  • Most presentation programs allow you to save presentations so they can be viewed online by saving them as ____
    5·2 answers
  • Differentiate between system software and application software
    13·2 answers
  • In needs analysis: Group of answer choices the costs of different physical network design alternatives are assessed the rate of
    10·1 answer
  • How to call a variable as a tag in react native.
    12·1 answer
  • Coffee shops worldwide throw away billions of paper cups each year. Discuss
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!