<span>B. users vote on the relevance of the source, which affects whether it will appear in future searches. </span>
Answer:
Hi!
The following Javascript statement compares if num is 2 or 5 and increment num by 1 if true.
if ( num==2 || num==5)
num = num +1;
Explanation:
The operator == is used to compare if the operands are equal.
The operator || is OR.
- If at least one of the operands is true then return true.
- If all operands are false returns false.
if( num==2 || num==5)
<em> // if num is equal 2 or if num is equal 5</em>
num = num +1; <em>// adds 1 to num.</em>
Answer:
1. Reboot computer
.
2. If the issue persists, check if antivirus software is updated; if so, then verify if the problem is only with Office suite, try to save another Word, Excel, Power Point document and running other programs. If the problem is also extended to Excel or Power Point and other programs run properly then:
a. Uninstall Office Suite (documents and information won´t be lost)
b. Reinstall Office Suite
c. Run Word, Excel, etc.
Word documents should open properly.
Explanation:
The above procedure should solve the problem given that it was verified and discarded that the malfunction was caused by a virus and upon verifying that the problem was not only with Word, but all applications related to Office Suite, then by reinstalling the software any malfunction could be fixed.
Answer:
Program approach:-
- Using the header file.
- Using the standard namespace I/O.
- Define the main function.
- Display the number of terms.
- Display the Fibonacci series.
- Print the first two numbers.
Explanation:
Program:-
//header file
#include <iostream>
//using namespace
using namespace std;
//main function
int main() {
int n, s1 = 0, s2 = 1, nextTerm = 0;
//display the number of terms
cout << "Enter the number of terms: ";
cin >> n;
//display the Fibonacci series
cout << "Fibonacci Series: ";
for (int j = 1; j <= n; ++j) {
// Prints the first two terms.
if(j == 1) {
cout << s1 << ", ";
continue;
}
if(j == 2) {
cout << s2 << ", ";
continue;
}
nextTerm = s1 + s2;
s1 = s2;
s2 = nextTerm;
cout << nextTerm << ", ";
}
Answer: wealthy students should, not a must, apply for it. Not every student.