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

What type of volcano would you most expect to erupt? A.)active B.)dormant C.)extinct D.)composite
Which group used the stirrup, skilled horsemanship, and siege warfare techniques to conquer much of Asia and part of Europe in the 12th and 13th centuries? (1)
What form of government places more of its power with the people? a. unitary b. federal c. oligarchy d. confederate
The Federalists and Anti-Federalists argued primarily over which issue? a. the political representation of southern slaves b. fair state representation in the n
If y varies directly with x, and y = 18 when x = 4, what is the constant of proportionality?
What were Louis Pasteur's experiments related to spontaneous generation?
how many times greater is the 8 in 583,534 than the 8 in 417,018
0.02 in scientific notation with negative powers of 10
Which could be the measures of the three angles of an acute triangle? a. 40 , 90 , 50 b. 70 , 80 , 30 c. 25 , 25 , 130 d. 45 , 45 , 90
Which value of m will create a system of parallel lines with no solution? y = mx – 6 8x – 4y = 12 m =