gracehope034
gracehope034 gracehope034
  • 23-10-2021
  • Computers and Technology
contestada

Read a number, add 10% and output the result.

Respuesta :

Аноним Аноним
  • 23-10-2021

Let's use python

Program:-

[tex]\tt num=(int(input("Enter\:the\: number:")))[/tex]

[tex]\tt p=0.1*num[/tex]

[tex]\tt print("The\: result\:is",p)[/tex]

Sample output:-

Enter the number: 100

The result is 10

Answer Link

Otras preguntas

How did tea change history in India?
In a particular class of 23 students, 11 are men. What fraction of the students in the class are women?
What is the opposite word of departed? A. Honored B. Excited C. Gathered D. Neglected
Which of the following popular sayings is an example of a true scientific theory?Eating lots of carrots will improve your eyesight.It is safe to eat dropped foo
Who had more of an advantage during the Civil War? Was it the north or the south?
15. A thesis statement about the impact of floodwaters on early river civilizations would most likely connect which three words? Select all that apply. (there a
What the product? (m-2)(m-5)
if sentences: I would do anything if I (have) the money
Sharon was hospitalized when she cut her wrists in an attempted suicide. While in the hospital, she was mostly deeply depressed, with occasional bouts of excess
Before running as the party candidate in the us presidential election a candidate must first win the A)coin toss, B) party debates, C) campaign trial, D) prim