Answer: In this context, the best answer for the given questions would be (B) you offer to take on some extra work when a coworker is out sick.
Explanation: Initiative is pretty much defined as an action that is taken independently by someone. It could be said that one person with an initiative does not need someone else to tell him/her to do something.
If you don't put propper measures into place while creating this database your site will vulnrable to SQL Injections. In this age most sites aren't because people have learned from past mistakes. My advice do some pentesting when you finish the site and if is vulnrable to SQL Injections quit web devlopment!
Answer:
a)
for(x=0;x<20;x=x+2)
cout<< x << ' ';
cout<< endl ;
<u>Output</u>
0 2 4 6 8 10 12 14 16 18
In this code we are initialing x with 0, check if it is less than 20, then printing the value 0.
Then we increment x value with 2 and check and print again until the x value tends to be equal or more than 20.
<u>C++ program for verifying</u>
#include <iostream>
using namespace std;
int main()
{
int x;
for( x=0;x<20;x=x+2)
cout<< x << ' ';
cout<< endl ;
return 0;
}
<u>Output</u>
0 2 4 6 8 10 12 14 16 18
(You can check on any ide for confirmation)
b)
i=10;
for (;i>0; i =i/2;)
cout<< i;
This code will produce error expected ‘)’ before ‘;’ token
for(;i>0; i =i/2;)
because for loop consist three parameters and in this loop there are 4 parameters.
If we remove semicolon after i/2,
for(;i>0; i =i/2)
then it will produce an output.
10 5 2 1
<u>C++ program for verifying</u>
#include <iostream>
using namespace std;
int main() {
int i=10;
for(;i>0; i =i/2;)
cout<< i;
return 0;
}
<u>Output</u>
Error-expected ‘)’ before ‘;’ token
for(;i>0; i =i/2;)
Answer:
I know right! i make sure i know the answer before i reply. it should ONLY let you answer with a real answer. most of the time they dont even do anything about it :( i agree so much with this comment.
also im pretty sure with the A+ students its only with brainly+