Answer:
See explaination
Explanation:
#include <fstream>
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
// Fill in the code to define payfile as an input file
ifstream payfile;
float gross;
float net;
float hours;
float payRate;
float stateTax;
float fedTax;
cout << fixed << setprecision(2) << showpoint;
// Fill in the code to open payfile and attach it to the physical file
// named payroll.dat
payfile.open("payroll.dat");
// Fill in code to write a conditional statement to check if payfile
// does not exist.
if(!payfile)
{
cout << "Error opening file. \n";
cout << "It may not exist where indicated" << endl;
return 1;
}
ofstream outfile("pay.out");
cout << "Payrate Hours Gross Pay Net Pay"
<< endl << endl;
outfile << "Payrate Hours Gross Pay Net Pay"
<< endl << endl;
// Fill in code to prime the read for the payfile file.
payfile >> hours;
// Fill in code to write a loop condition to run while payfile has more
// data to process.
while(!payfile.eof())
{
payfile >> payRate >> stateTax >> fedTax;
gross = payRate * hours;
net = gross - (gross * stateTax) - (gross * fedTax);
cout << payRate << setw(15) << hours << setw(12) << gross
<< setw(12) << net << endl;
outfile << payRate << setw(15) << hours << setw(12) << gross
<< setw(12) << net << endl;
payfile >> hours ;// Fill in the code to finish this with the appropriate
// variable to be input
}
payfile.close();
outfile.close();
return 0;
}
The statements that describe features of an ipv4 routing table on a router include:
- Directly connected interfaces will have two route source codes in the routing table.
- If a default static route is configured in the router, an entry will be included in the routing table with source code.
It should be noted that the IPv4 route table is important for listing entries that are in the routing table.
The routing table of every router is unique and can be stored in the read access memory (RAM) of the device.
Read related link on:
brainly.com/question/24958077
Correct Question:
_______ is an easy way to navigate through a web page.
Answer:
Scrolling.
Explanation:
The responsiveness of a webpage is an ability of the design to respond to the end user's digital device and screen size.
In Computer programming, a responsive web design makes it possible for various websites to change layouts in accordance with the user's digital device and screen size.
This ultimately implies that, a responsive design is a strategic approach which enables websites to display or render properly with respect to the digital device and screen size of the user.
Additionally, media queries are simple filter design that can be applied to cascaded style sheets(css).
Depending on the size of the viewport, media queries makes it easy to tweak styles depending on parameters such as width, orientation, height, resolution and display type of the device rendering the data
Hence, scrolling is an easy way to navigate through a web page. It avails the end users an ability to scroll (navigate) from side to side (left-right or right-left) and top to bottom (bottom-top) by using the horizontal and vertical onscreen scrollbars respectively.
<span>Encapsulation is defined as the process of adding a header in front of data supplied by a higher layer (and possibly adding a trailer as well).</span>
read the slides ; Table Properties are the way the table appears or looks.