Answer:
//C++ code for the cash register..
#include <iostream>
#include<vector> //including vector library
using namespace std;
int main() {
vector<float> cash; //declaring a vector of type float.
float item=2,cash_sum=0;
int counter=1;
while(item!=0)//inserting prices in the vector until user enters 0...
{
cout<<"Enter the price of item "<<counter<<" :"<<endl;
cin>>item;
counter++;
cash.push_back(item);//inserting element in the vector...
}
for(int i=0;i<cash.size();i++)//looping over the vector...
{
cash_sum+=cash[i];//summing each element..
}
cash_sum*=1.08;//adding 8% sales tax.
cout<<cash_sum;//printing the result....
return 0;
}
Explanation:
I have taken a vector of type float.
Inserting the price of each item in the vector until user enters 0.
Iterating over the vector for performing the sum operation.
Then after that adding 8% sales tax to the sum.
Printing the output at last.
Exel is used for graphing, Word for any type of essay or paper, and Powerpoint for presentations.
Hope this helps!
Answer:
THE FOLLOWING FILES ARE:
- nerdluv.php
- signup.php
- signup-submit.php
- matches.php
- macthes-submit.php
- common.php
Explanation
<em>The provided nerdluv.php has a header/footer and links to singup.php and matches.php. This file's contents are complete, but larger parts of it are repeated on other pages. The repeated parts should be turned into functions in common.php that are called by each page. The sign up link leads to singup.php and check matches to matches.php.</em>
<em>The signup.php page has a header logo, a form to create a new acount, and footer notes/images. You must write the HTML code for the form, the form should contain the labeled fields such as name, gender, age, personality tipe, favorite OS, seeking age, and sign up.</em>
<em>The signup-submit.php code should creat a line representing the new user's information and add it to the end of the file. The resulting page has the usual header and footer and text thanking the user. The text log in to see your matches links to matches.php.</em>
<em>Use functions, parameters/return, included files/code, loops, variables, etc, to avoid redundancy. If you have HTML or PHP code that is shared or redundant between multiple pages, place it into functions in common.php. You can include your common.php in your other pages.</em>
Answer:
Security Policies
Explanation:
As computer systems continue to become complex, it makes it hard for co-operates and big businesses to understand the technology that comes with it. Organizations are concerned with how risks are being handled, managed, and reduced. They therefore, expect security policies to reflect how information should be handled. Better security policies shows a company's commitment to protect data and keep the business healthy.
Answer:
A parties order and a total order
Reason is because the person is the related to the person being discussed and they share the same birthday date.