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:
conduction
Explanation:
The handle will warm up until it's total heat losses equal the total heat coming in. Heat comes in mostly by conduction from the body of the pot.
Answer:
A(n) videoconference allows people at two or more locations to interact via two-way video and audio transmissions simultaneously as well as share documents, data, computer displays, and whiteboards.
Answer:
To obtain substantial performance enhancements, we must exploit ILP across multiple basic blocks.
Explanation:
Answer:
A network backbone connects multiple networks together, allowing them to communicate with each other.