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

If 8 tablespoons of extract are mixed with distilled water to total 300 mL, what is the final concentration?
Immediately after a hurricane, it is likely that the quantity demanded for tree cutting/removal services will ______ the quantity supplied, causing the price of
Can someone help me? Thanks-Aparri
The city of Raleigh has 10500 registered voters. There are two candidates for city council in an upcoming election: Brown and Feliz. The day before the election
Mr.Sharma deposited a sum of Rs.6000 in the bank at the rate of 12.5 per year find the amount received by him at the end of four years six months
Consider a solid sphere of radius R = 0.4 m that is uniformly charged with ? = -11 ?C/m3. What is the electric potential a distance 5 m from the center of the s
what is the inverse of f(x) = -5x-4
Hammurabi's Code dealt with which of the following aspects of law? Question
Write an equation for a polynomial that has the solution set {-1,3,4}
rewrite the sentences in the passive . use by if necessary to say who has done the action. 1. the local newspaper has contacted us. ​