Hello, please tell me how to write the code correctly? Kotlin | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello, please tell me how to write the code correctly? Kotlin

The family consumes 15 liters of water every day. Given the number of years as input, you need to calculate and output the amount of water that was consumed in a given period. Sample Input Data 5 Sample Output Data 27375 Water consumption over 5 years will be: 5 * 365 * 15 = 27375

8th Dec 2021, 9:48 PM
Макс Гоч
1 Answer
+ 2
This question is asked many times in this forum, use the search bar please! And also, you didn't attached your code (your try).
9th Dec 2021, 3:21 AM
NEZ
NEZ - avatar