Hello,
The answer is option A p<span>ay attention to URL endings, such as .gov and .com.
Reason:
Its A because its a very important guideline to make sure you look for the root words .gov and .com to make sure its professional. Its not option B because using search engines can cause viruses. Its also not option C because anything can look professional just by how the website looks and says.
If you need anymore help feel free to ask me!
Hope this helps!
~Nonportrit</span>
BIOS instructs the computer on how to preform basic functions such as booting and keyboard control. It is also used to identify and configure the hardware in a computer
Answer:
The correct code to the given question is
if ((counter % 10) == 0) // check the condition
{
System.out.println("Counter is divisible by ten: " + counter); // display
}
else // check the condition
{
System.out.println("Counter is not divisible by ten: " +counter); // display the //value
}
counter++; // increment the value of counter
Explanation:
Following are the description of code
- In the given question we have to check the condition that the given number is divisible by 10 or not .
- In the if block if the number is divisible by 10 then it print the value of number and increment the value of counter .
- In the else block if the number is not divisible by 10 then it print the value of number and increment the value of counter .
- It means the value of counter is increases in the if block as well as in the else block .So we have to remove the counter statement from there and place outside the if and else block .
Answer:
The correct answer for the given question is option(a) i.e Local - within that function
.
Explanation:
The variable which is declared inside any function are called as local variable The scope and lifetime of local variable is inside that block or function only.
They cannot access outside the function.
Following are the example of local variable
#include <stdio.h> // header file
void fun(); // function prototype
int main()// main function
{
fun(); //calling function
print("%d",t); // it gives error because t is local variable cannot access in main function
return 0;
}
void fun()
{
int t=9;// local variable
printf("t is local variable which value is:");
printf("%d",t);
}
As we seen that t cannot access outside the function .So correct answer is option(a)