Explanation:
An identifier is the name of a program or the names of the variables, classes, methods, namespaces or interfaces within a program that are used to identify the relevant data/info.
Typically, identifiers must start with a letter (no numbers) and must not have any spaces in them, it should indicate the meaning and usage of the element being referred and i t cannot have more than 511 characters.
An example is:
<em>int money;
</em>
<em>double accountBalance;</em>
Where money and accountBalance are the identifiers.
I hope you find this information useful and interesting! Good luck!
Answer:
Total Energy Input = Total Energy Output / Efficiency
Explanation:
The expression written above is not true about the energy conversion devices.The energy conversion devices convert energy from one form to another for of energy for example :- take a light bulb it converts electric energy to heat and light.There is no efficiency involved in the energy conversion devices.
Answer:
<u>D.) Device Manager</u>
Explanation:
Indeed, the device manager administrative tool found on Windows allows the user to set up or add new hardware devices attached to the computer system.
For example, this tool allows the user to add external devices to the computer such as a printer, mobile device, etc that may not automatically be displayed.
Answer:
<em>C++</em>
////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v;
int n = 1;
while (n != 0) {
cout<<"Enter an integer, the input ends if it is 0: ";
cin>>n;
v.push_back(n);
}
cout<<endl;
///////////////////////////////////////////////////////////
int sum = 0;
int num_positives = 0, num_negatives = 0;
for (int i=0; i<v.size()-1; i++) {
if (v[i] > 0)
++num_positives;
else
++num_negatives;
sum = sum + v[i];
}
//////////////////////////////////////////////////////////
cout<<"The number of positives is "<<num_positives<<endl;
cout<<"The number of negatives is "<<num_negatives<<endl;
cout<<"The total is "<<sum<<endl;
cout<<"The average is "<<(float)sum/(v.size()-1);
///////////////////////////////////////////////////////////
return 0;
}