HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


002. 50428 - Three Times

Guest
• Review clarifications (2)

Volume problems

• 165. 50577 - Perfect Numbers and ...
• 190. 50533 - Contacts List
• 200. 50454 - What day is it?
• 210. 50369 - Base Conversion
• 250. 50385 - The 3n + 1 problem
• 260. 50493 - n-digit kth Prime Number
• 50307 - Palindromes
• 50305 - John's Tasks
• 002. 50428 - Three Times
• 010. 50582 - Number of digits
• 035. 50467 - Random Numbers
• 062. 50390 - Total Salary Paid
• 100. 50397 - The Number of Points ...
• 135. 50572 - Palindromic Numbers
• 145. 50586 - Prime Palindromes
• 160. 50571 - Armstrong Numbers - 2
• 50315 - Pig Latin

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
bfs.

Write the definition of a function that takes a decimal number as input and returns 3 times the value of the decimal number.

Then, in the main program format your output to show two decimal places (two digits after the floating point).
Input specification
There will be only one number in the input which is between 0 ≤ n ≤ 50000.
Output specification
Show 3 times the value of the given decimal number.

Input Output 1
2.5
7.50

Для отправки решений необходимо выполнить вход.

www.contester.ru