Answer:
C is the answer!
Explanation:
A hard drive contains your operating system which can include your settings and preferences that you included in your device. But it mostly is a storage device so we know it WOULD NOT BE (B.
WOULD NOT BE D beacause powering it back on wouldnt do anything but bring you back to the start.
WOULD NOT BE A beacuse when taking out the battery then putting it back in would just be like turning it off then back on beacuse that just hold the power to a device.
IT WOULD BE C, C IS THE ANSWER beacuse a CMOS batttery contains the main system settings and also contains information so i think C would be the best answer for this choice.
Hope this helps!
xx <3
Answer:
ctrl+p or find the print button on the page
Answer:
// program in C++.
// headres
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// array
int temperatures[7];
// count variable
int count=0;
cout<<"Enter the temperature of all days:";
for(int a=0;a<7;a++)
{
// read temperature of 7 days
cin>>temperatures[a];
// find temperature is extreme or not
if(temperatures[a]<-10||temperatures[a]>25)
// count
count++;
}
// print count of extreme temperature
cout<<"number of days of extreme temperature:"<<count<<endl;
return 0;
}
Explanation:
Create an array of size 7 to store the temperature of all days of week.Read the temperature of each day.If the temperature is less than -10 or greater than 25 then increment the count.This will count the number of days of extreme temperature.Print the count.
Output:
Enter the temperature of all days:-20 12 18 30 32 -15 15
number of days of extreme temperature:4
Answer:
x=arr[arr.length-2]; is the correct answer for the given question.
Explanation:
In the above statement firstly we calculate the length of the given array.The arr.length function is used to calculate the array length.As mention in the question we have to assign the next to last element of the array to the variable x, so we used arr[arr.length-2] and finally, we assign them to the variable x.
so the final statement is x=arr[arr.length-2];
What’s that? I never heard of it.