Answer:
See explaination
Explanation:
#include <iostream>
using namespace std;
int main()
{
double h, w;
int s, a, b;
cout<<"height in feet: ";
cin>>h;
cout<<"width in feet: " ;
cin>>w;
cout<<"tile size in inches:";
cin>>s;
int height = h*12;
if(height%s==0)
a = height/s;
else
a = height/s + 1;
int width = w*12;
if(width%s==0)
b = width/s;
else
b = width/s + 1;
cout<<"Number of tiles: "<<a*b;
}
Answer:
The advantage for the above condition is as follows:-
Explanation:
- If a user creates a defined constant variable and assigns a value on its and then uses that variable instead of the value, then it will a great advantage.
- It is because when there is a needs to change the value of that variable, then it can be done when the user changes the value in one place. There is no needs to change the vale in multiple places.
- But if there is a value in multiple places instead of a variable and there is no constant variable, then the user needs to change the value in multiple places.
Complete Question:
Assume that an array of Integers named a that contains exactly five elements has been declared and initialized. In addition, an int variable j has also been declared and initialized to a value somewhere between 0 and 3.
Write a single statement that assigns a new value to the element of the array indexed by j. This new value should be equal to twice the value stored in the next element of the array (i.e. the element after the element indexed by j ). Do not modify any other elements of the array!
Answer:
a[j] = 2 * a[j+1];
Explanation:
Since the array is named a and its indexes are referenced by the variable j
it means the elements of the array will be a[j] for (j=0; j=1;j=2).
The first element in the array (j=0) will be a[0], second element will be a[1] and so on.
The statement a[j] = 2 * a[j+1]; assigns a new value to the element of the array indexed by j, the value is equal to twice the value stored in the next element of the array (j+1).
The correct steps that indicate a correct order of acquisition as they relate to integrity and non-repudiation are:
- A hash of the disk is made
- A bit-by-bit copy is made
- A second hash is made
- A copy is made of the reference image
<h3>Is non-repudiation an aspect of integrity?</h3>
In general, nonrepudiation is known to be a term that puts together or combines authentication and integrity.
Note that Nonrepudiation is said to be a key or one of the pillars that pertains to information assurance.
The integrity in cyber security is known to be the act of keeping safe against any form of an improper information modification or destruction.
Hence, The correct steps that indicate a correct order of acquisition as they relate to integrity and non-repudiation are:
- A hash of the disk is made
- A bit-by-bit copy is made
- A second hash is made
- A copy is made of the reference image
Learn more about acquisition from
brainly.com/question/11412887
#SPJ1
Answer:
22,332
Explanation:
The taxable income :
Line 8 = Standard deduction or itemized deduction
Line 9 = Qualified business income deduction
Line 7 = Adjusted gross income
Taxable income = Adjusted gross income - (Qualified business income deduction + standard deduction)
Taxable income = 34732 - (12400 + 0)
Taxable income = 34732 - 12400
Taxable income = 22,332