Answer:
Protected.
Explanation:
Structures and classes that are declared within the namespace directly can be internal or public by default they are internal.Struct members can be declared internal,public or private.Since structures does not support inheritance so they does not support protected access modifier.Hence we conclude that the answer is Protected.
Answer: 1111
Explanation: As a decimal number can be decomposed in a sum of products involving powers of ten, it can be factored as a sum of products of powers of 2 in order to convert to binary.
In the example, we can write 15 as a decimal number in this way:
1* 10¹ + 5* 10⁰ = 15
Decomposing in powers of 2:
1*2³ + 1* 2² + 1*2¹ + 1.2⁰ = 1 1 1 1 = (15)₂
Answer:
#include<stdio.h>
#include<string.h>
int main() {
int n;
FILE *fp = fopen("salaries.txt", "r");
double sumSalaries = 0;
double quarterlySalary1, quarterlySalary2, quarterlySalary3, quarterlySalary4;
while(!feof(fp)) {
fscanf(fp, "%lf", &quarterlySalary1);
fscanf(fp, "%lf", &quarterlySalary2);
fscanf(fp, "%lf", &quarterlySalary3);
fscanf(fp, "%lf", &quarterlySalary4);
sumSalaries = sumSalaries + quarterlySalary1+quarterlySalary2+quarterlySalary3+quarterlySalary4;
printf("Salary Sum %lf: \n", sumSalaries);
printf("Income Type: ");
if(sumSalaries > 200000 ){
printf("h");
}
else if(sumSalaries >= 15000 && sumSalaries<=200000){
printf("m");
}
else{
printf("l");
}
printf("\n");
}
fclose(fp);
return 0;
}
Explanation:
I believe your payment history would have the greatest impact on your credit score