Answer:
input number
calculate modulus of the number and 5
compare outcome to 0
if 0 then output "divisible by 5"
else output "not divisible by 5"
Explanation:
The modulo operator is key here. It returns the remainder after integer division. So 8 mod 5 for example is 3, since 5x1+3 = 8. Only if the outcome is 0, you know the number you divided is a multiple of 5.
Answer:
The answer is the program, in the explanation
Explanation:
I am going to write a C program.
int main(){
int grade = -1; /*The grade will be read to this variable*/
/*This loop will keep repeating until a valid grade is inserted*/
while(grade < 0 || grade > 100){
printf("Insert the student's grade: %n");
scanf("%d", &grade);
}
/*The conditional according to the grade value*/
if (grade >= 90){
printf("Your grade is A\n");
}
else if (grade >= 80 && grade < 90){
printf("Your grade is B\n");
}
else if (grade >= 70 && grade < 80){
printf("Your grade is C\n");
}
else if (grade >= 60 && grade < 70){
printf("Your grade is D\n");
}
else{
printf("You got a failling grade\n");
}
return 0;
}
Answer:
D. WMA
Explanation:
The following audio file formats that is the best suited for listening to music on a portable audio device is WMA.
Answer:
1. Seek for AutoCorrect from Ribbon if you do not have Classic Menu for Office
2. Resolution
Explanation:
1. Seek for AutoCorrect from Ribbon if you do not have Classic Menu for Office
Click the File tab;
Click Options button at the bottom, and you will enter Word Options window;
Click the Proofing button at left pane;
Go to the AutoCorrect Options section;
Then you will view the AutoCorrect Options… button.
2. Resolution
Open a document in Word for Mac.
On the Edit menu, click Select All.
On the Tools menu, click Language.
Select the language dictionary you want the speller to use, such as English (US).
Uncheck Do not check spelling or grammar, and then click OK.
The answer is number 3.libary