Answer:
#include <iostream>
using namespace std;
int main()
{
int i = 45;
for ( i = 45; i <=165; i = i + 6)
cout << i << endl;
}
Explanation:
I corrected your code and highlighted the mistakes. Even though you wrote the correct algorithm, your code did not compile because of the typos you made.
Remember, C++ is a case-sensitive language. That means, "For" is not same as "for".
Generally, variables and keywords are written in lower case. Of course, there are exceptions, such as constant variables are all written in uppercase letter and class names start with an uppercase letter.
SQL (<span>Structured Query Language.) is the standard programming language for communicating and organizing databases (DB).
In order to search through the database the statement SELECT should be used.
SELECT select data from the database.
SELECT is followed by the statement FROM which defines from which database you search record. </span>
Answer:
B. a tag
Explanation:
In the structure definition given below:
struct Employee
{
string name;
int idNum;
};
Employee corresponds to the tag of the structure. The tag is used to create additional instances of the structure. For example:
struct Employee e1;
struct Employee e2;
name and idNum are members of the Employee structure and are referenced using the dot notation. e.g.,
struct Employee e1;
e1.idNum=1;
Monitor
Printer
Headphones
Computer Speakers
Projector
GPS
Sound Card
Video Card
Braille Reader
Speech-Generating Device
Answer:
Net force = 20 N
Explanation:
Given that,
Force acting on the left = 10 N
Force acting on the right = 30 N
Let right side is positive and left side is negative. Let the net force acting on the box is F. So,
F = -10+30
F = 20 N
So, the net force on the box is 20 N and it is in right side.