Answer:
Here is the code for a classic C++ program that does it:
--------------------------------------------------------------------------------
#include <iostream>
using namespace std;
int main()
{
int sum = 0;
int n;
cout << "Input 10 numbers: " << endl;
for (int i = 0; i < 10; i++)
{
cin >> n;
sum += n;
}
cout << "Sum of the numbers: " << sum << endl;
}
--------------------------------------------------------------------------------
Explanation:
I'm assuming you know what "include", "using namespace std" and "int main()" do, so I will skip over those.
First, we declare a variable "sum" and initialize it with 0 so we can add numbers to it later.
Then, we declare a variable "n" that will be set as the input of the user.
The "for-loop" will iterate ( go ) from 0 to 9, and will set the value of "n" as the input that is given -> "cin >> n;". After that, we add the value of "n" to the sum variable.
After "i" reaches 9, it will exit the loop and proceed to printing the sum of the numbers.
Hope it helped!
Answer:
Domain integrity constraint and Entity integrity constraint
Explanation:
Data integrity constraints protect the quality of data by ensuring data doesn't lose its integrity, validity, or consistency when there is update to data. Data integrity constraints are rules applied to table columns in DBMS systems to prevent any unintentional damage to data. There are four types of data integrity constraints: domain integrity constraint, entity integrity constraint, referential integrity constraint, and key constraint.
Domain integrity constraint applies rules to protect against the values or attributes in the table column.
Entity integrity constraint applies rules to protect the uniqueness of rows in the table.
Answer:
<h2> CPU is the answer......</h2>
Answer:
hey there, it's 4 different input combinations (TrueTrue, TrueFalse, FalseFalse,FalseTrue).
Answer:
0xFF.
Explanation:
The Register A of HSC12 is an 8-bit register.So the maximum value for 8 bit is 8 1's (11111111). So the decimal value for the maximum 8 bits is 255 but all the options given are in hexadecimal so among the given options only 0xFF has the value of 255 in decimal F=(1111)₂.So two F's make 8 bits and their decimal value is 255.