![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.02.2021 21:20 TerronRice
A half-life is the amount of time it takes for a substance or entity to fall to half its original value. Caffeine has a half-life of about 6 hours in humans. Given caffeine amount (in mg) as input, output the caffeine level after 6, 12, and 24 hours.
Output each floating-point value with two digits after the decimal point, which can be achieved as follows: printf("%0.21f", yourValue);
Ex: If the input is:
100
the output is:
After 6 hours: 50.00 mg
After 12 hours: 25.00 mg
After 24 hours: 6.25 mg
Note: A cup of coffee has about 100 mg. A soda has about 40 mg. An "energy" drink (a misnomer) has between 100 mg and 200 mg.
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:30
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:20
In the insert table dialog box, you select the checkbox to create the first row as the header of the table.
Answers: 3
![question](/tpl/images/cats/informatica.png)
You know the right answer?
A half-life is the amount of time it takes for a substance or entity to fall to half its original va...
Questions
![question](/tpl/images/cats/fizika.png)
Physics, 18.09.2019 11:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 18.09.2019 11:10
![question](/tpl/images/cats/mat.png)
Mathematics, 18.09.2019 11:10
![question](/tpl/images/cats/en.png)
English, 18.09.2019 11:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 18.09.2019 11:10
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 18.09.2019 11:10
![question](/tpl/images/cats/fizika.png)
Physics, 18.09.2019 11:10
![question](/tpl/images/cats/istoriya.png)
History, 18.09.2019 11:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 18.09.2019 11:10
![question](/tpl/images/cats/health.png)
Health, 18.09.2019 11:10
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.09.2019 11:10
![question](/tpl/images/cats/en.png)
English, 18.09.2019 11:10
![question](/tpl/images/cats/istoriya.png)
History, 18.09.2019 11:10
![question](/tpl/images/cats/biologiya.png)
Biology, 18.09.2019 11:10
![question](/tpl/images/cats/himiya.png)
Chemistry, 18.09.2019 11:10