Answer:
Check the explanation
Explanation:
#include<stdio.h>
/*Function to return max sum such that no two elements
are adjacent */
int FindMaxSum(int arr[], int n)
{
int incl = arr[0];
int excl = 0;
int excl_new;
int i;
for (i = 1; i < n; i++)
{
/* current max excluding i */
excl_new = (incl > excl)? incl: excl;
/* current max including i */
incl = excl + arr[i];
excl = excl_new;
}
/* return max of incl and excl */
return ((incl > excl)? incl : excl);
}
/* Driver program to test above function */
int main()
{
int arr[] = {5, 5, 10, 100, 10, 5};
printf("%d \n", FindMaxSum(arr, 6));
getchar();
return 0;
}
Im really not sure but i need points so i can ask questions so i can get my math classes done so then i can graduate sos help
The answer is A B AND D mark me brainliest?
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