Answer:
// here is code in java.
import java.util.*;
class Solution
{
// main method of class
public static void main (String[] args) throws java.lang.Exception
{
try{
// declare variable
double caffeine;
// scanner object to read input from user
Scanner scr=new Scanner(System.in);
System.out.print("Enter the initial amount of caffeine:");
// read the initial amount of caffeine
caffeine=scr.nextDouble();
// calculate amount of caffeine after 6,12,18 hours
for(int i=1;i<=3;i++)
{
System.out.println("After "+ i*6+" hours:"+(caffeine/2)+" mg");
// update the caffeine after every 6 hours
caffeine=caffeine/2;
}
}catch(Exception ex){
return;}
}
}
Explanation:
Create a variable "caffeine" to store the initial amount of caffeine given by user. Run a loop for three time, it will calculate the amount of caffeine left after every 6 hours.First it will give the amount of caffeine left after 6 hours, then caffeine left after 12 hours and in last caffeine after 18 hours.
Output:
Enter the initial amount of caffeine:100
After6 hours:50.0 mg
After12 hours:25.0 mg
After18 hours:12.5 mg
Answer:
A.
Explanation:
A is the answer..
This is because you can use a private browser for safety precautions so no hackers would target you and steal your personal information. Also the other options make no sense at all. Option B states that you can use the same strong password for all online accounts and that's not good. It's not recommended because hackers or other people on the dark web can hack into your accounts and steal your data. Option C states that you must make sure http: and an open padlock displays on the address bar. This means that your connection is insecure and people can track you down. Option D is a good thing to do but option A is the best option overall. It's the right step to take when making online purchases <3
Answer:
Reference
Explanation:
i don't know how to explain it but that's the answer
Below are the <span>software interfaces allow adjustment of the CPU voltage:
</span>
<span>UEFI Settings;
BIOS Settings
Unified Extensible Firmware Interface (UEFI) is a detail for a product program that associates a PC's firmware to its working framework (OS). UEFI is required to in the long run supplant BIOS. Like BIOS, UEFI is introduced at the season of assembling and is the principal program that runs when a PC is turned on.
BIOS (basic input/output system) is the program a PC's microchip uses to kick the PC framework off after you turn it on. It likewise oversees information stream between the PC's working framework and joined gadgets, for example, the hard circle, video connector, console, mouse and printer.</span>
Answer:
C
data converted from double to integer.