It depends on how much storage. I usually connect mine to another hard drive.
Answer:
B seems like the best answer to me.
Explanation:
A function that determines if a given year is a leap year:
#include<stdio.h>
int main()
{
//fill the code
int year, month;
scanf(“%d %d”,&month,&year);
if(!Leapyear(month, year))
{
if(month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12)
printf(“Number of days is 31”);
else if(month == 2)
{
printf(“Number of days is 28”);
}
else
printf(“Number of days is 30 “);
return 0;
}
}
int Leapyear(int month, int year)
{
if((month == 2) && (year%4 == 0) || ((year%100 == 0) &&(year%400 == 0)))
{
printf(“Number of days is 29”);
return 1;
}
else
return 0;
}
Answer:
1. When calculating the division of each number in some range of floating type number.
2. One cannot use real numbers for exact comparison. Two real numbers are rarely equal. Real numbers are have representational errors.
Explanation:
1. In structured programming, we make use of a floating-point number with a fractional part for a loop control variable. a given scenario is when we just want to calculate the division of each number in some range of floating type number. However, the downsides to using a floating-point number with a fractional part for a loop control variable are:
- They can cause 'off-by-one' failure
- A floating point number cannot represent all simple fractions exactly
2. The pitfalls of using real numbers for the index variable in a for loop:
- Two real numbers are hardly equal
- One cannot use real numbers for exact comparison
- The existence of representational errors
To measure voltage, current, and resistance you would use a multimeter