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

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

Relax

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

Who helped negotiate an alliance between the Patriots and France in 1778?
Simplify complex fraction 8 over 9/6
Why does chlorine react readily?
Is the quotient of two irrational numbers sometime, always, or never irrational number?
What is 1:3 and show how much lemon juice would be needed if you use 36 cups of water to make lemonade
Is the quotient of two irrational numbers sometime, always, or never irrational number?
find the difference between 89 and 21
find the length of the segment. round to the nearest tenth of a unit P(1,2) Q(5,4)
What is 1:3 and show how much lemon juice would be needed if you use 36 cups of water to make lemonade
Name a few of the revolutionary roots of the constitution, specifically the groups that came together to protest the British government.