What language are you programming in?
<span>If you are programming in C or C++, you could do something like this: </span>
<span>#include <iostream> </span>
<span>using namespace std; </span>
<span>int main(void) </span>
<span>{ </span>
<span>//declarations </span>
<span>double item1 = 0; </span>
<span>double item2 = 0; </span>
<span>double item3 = 0; </span>
<span>double item4 = 0; </span>
<span>double item5 = 0; </span>
<span>double subtotal = 0; </span>
<span>double total = 0; </span>
<span>double tax = 0; </span>
<span>//Enter Items </span>
<span>cout << "Please enter the price of item 1"; </span>
<span>cin >> item1; </span>
<span>cout << "Please enter the price of item 2"; </span>
<span>cin >> item2; </span>
<span>cout << "Please enter the price of item 3"; </span>
<span>cin >> item3; </span>
<span>cout << "Please enter the price of item 4"; </span>
<span>cin >> item4; </span>
<span>cout << "Please enter the price of item 5"; </span>
<span>cin >> item5; </span>
<span>//Compute subtotal </span>
<span>subtotal = (item1 + item2 + item3 + item4 + item5 + item6); </span>
<span>//Compute amount of tax </span>
<span>tax = subtotal * (.06); </span>
<span>//Compute total </span>
<span>total = subtotal + tax; </span>
<span>//Display subtotal, total, and amount of tax </span>
<span>cout < " The subtotal of the sale is: " << subtotal << endl; </span>
<span>cout < " The amount of sales tax is: " << tax << endl; </span>
<span>cout < " The total of the sale is: " << total << endl; </span>
<span>return 0; </span>
<span>}//end of function main </span>
<span>I know this is a very very basic C++ program but I hope it helps and good luck on your project!</span>
Answer:
A.)
arr[0] = 10;
arr[1] = 10;
Explanation:
Given the array:
arr = {1,2,3,4,5}
To set the first two elements of array arr to 10.
Kindly note that ; index numbering if array elements starts from 0
First element of the array has an index of 0
2nd element of the array has an index of 1 and so on.
Array elements can be called one at a time using the array name followed by the index number of the array enclosed in square brackets.
arr[0] = 10 (this assigns a value of 10 to the index value, which replace 1
arr[1] = 10 (assigns a value of 10 to the 2nd value in arr, which replaces 2
1.Select the data.
2.Go to Data –> Data Tools –> Remove Duplicates.
3.In the Remove Duplicates dialog box: If your data has headers, make sure the 'My data has headers' option is checked. Make sure the column is selected (in this case there is only one column).
Answer: cashbook and erp system
Explanation:
Answer:
True
Explanation:
Most of the organization suffers from InfoObesity, i.e., too much data without the proper holding structure for this.
Business intelligence abbreviated as BI plays a major role in the determining the planning strategies of an organizations and serves multiple purposes which includes measurement of performance towards business objectives, quantitative analysis, data reporting and sharing, etc.
BI systems helps in eliminating InfoObesity, by manging the data and filtration of the data with proper data structure to serve specific purposes.