Answer:
LA
Explanation:
where the rich people live
Answer:
#include <iostream>
using namespace std;
int main()
{
int input = 0;
int count = 0;
int sum = 0;
int sumNegative = 0;
while (true) {
cout << "Enter a number: ";
cin >> input;
if (input == 0) break;
count++;
sum += input;
if (input < 0) {
sumNegative += input;
}
}
cout << "Count of the numbers: " << count << endl;
cout << "Sum of all the numbers: " << sum << endl;
cout << "Sum of the negative numbers: " << sumNegative << endl;
}
Explanation:
Your requirements regarding the sum and the negative numbers was a bit vague so I just did something you can probably adjust easily to your liking.
What the phrase should say in Kim's SQL Query is; WHERE Customer = Sales Rep
<h3>What is SQL Query?</h3>
Structured Query Language (SQL) is defined as a standardized programming language that is used to manage relational databases and perform various operations on the data in them.
Now in SQL Query, when one SQL query is embedded in another SQL query to simulate a join, the second SQL query is embedded in the "WHERE" of the first query.
Since the query will pull a list of customers with outstanding orders and the sales rep for each order. Then, the where phrase will be;
WHERE Customer = Sales Rep
Read more about SQL Query at; brainly.com/question/10097523
Answer:
The debugged program is as follows:
A=2
B=2
For I=1 to 10
PRINT A
TEMP = A
A=B
B=TEMP+A
NEXT I
END
Explanation:
First, the value of B should be changed to 4 (because the second term of the sequence is 2
Next, change Display to Print because Q-basic uses the print keyword to display output
The sequence is not properly generated. So, I update that part of the program to:
<em>For I=1 to 10
</em>
<em>PRINT A
</em>
<em>TEMP = A
</em>
<em>A=B
</em>
<em>B=TEMP+A
</em>
<em>NEXT I
</em>
<em />
Lastly, the loop is controlled by variable I (not X).
So change NEXT X to NEXT I
Answer:
'='
Explanation:
The equal ('=') is the character that is used to assign the value in the programming.
In the programming, there is a lot of character which has different meaning and uses for a different purpose.
like '==' it is used for checking equality between the Boolean.
'+' is a character that is used for adding.
'-' is a character that is used for subtraction.
similarly, '=' used for assigning.
for example:
a = a + b;
In the programming, the program evaluates the (a + b) first and then the result assigns to the variable.