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

Which era of geological time lasted the longest? a. Mesozoic c. Precambrian b. Cambrian d. Cenozoic
At the beginning of A Christmas Carol, the narrator explains that Scrooge was Marley's "sole executor, his sole administrator, his sole assign, his sole residua
Which word in the sentence does the adverb clause modify? She wore this helmet while she rode her skateboard. a. helmet b. wore c. while d. this
Shiites and Sunnis comprise two factions within ________. Hinduism Islam Christianity Buddhism
Which person is heaver: 75 kg or 110 lb
Which expression correctly represents the perimeter of a rectangle that is 12 centimeters long and 7 centimeters wide? A. (12 cm + 7 cm) B. 2(12 cm) + 7 cm
Which verb is progressive? a. will have fallen b. will have been falling c. does fall d. has fallen
-2p=4/11 Solve the equation
Which of the following is not a characteristic that geologists use to identify minerals? A. Streak B. Color C. Fracture D. Softness
Which government declare war, approves constitutional amendments, and begins impeachment proceedings? A. executive B. legislative C. judicial D. Central intel