172k views
5 votes
Read a number, add 10% and output the result.

User Gant
by
4.2k points

1 Answer

4 votes

Let's use python

Program:-


\tt num=(int(input(


\tt p=0.1*num


\tt print(

Sample output:-

Enter the number: 100

The result is 10

User Stepo
by
4.4k points