How to use call-by-references and pointers in the context of this program

My assignment is to rewrite the attached code in C++ using call-by-references and pointers. I am having a hard time understanding how to use call-by-references and pointers in the context of this program:
#include 
using namespace std;
//Functions
double inputRate();
int inputHours();
double calcGross(double rate, int hours);
double calcTax(double gross, double taxRate);
//Global Constant
const double OVERTIME_RATE = 1.5;
void main()
{
//Local Constants
const double UNION_DUES = 10.00, FICA_RATE = (0.06), 
FEDERAL_RATE = (0.15), STATE_RATE = (0.05);
//Local Variables
int hours;
double rate, gross, fica, federal, state, netpay, netHourly;
//Decimal Formatting
cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(2);
cout 
//Input Values
rate = inputRate();
hours = inputHours();
//Calculations
gross = calcGross(rate, hours);
fica = calcTax(gross, FICA_RATE);
federal = calcTax(gross, FEDERAL_RATE);
state = calcTax(gross, STATE_RATE);

//Remaining calculations
netpay = gross – (fica + federal + state + UNION_DUES);
netHourly = netpay / hours;
//Display Results and Echo the Input
cout 
system(“pause”);
//End of Main

//Hourly Rate Prompt with check for rate between 10 and 15
double inputRate()
{
double rate;
do
{
cout cin >> rate;
while (rate 15.00);
cout 
return (rate);

//Hours prompt with check for hours between 1-50
int inputHours()
{
int hours;
do
{
cout cin >> hours;
while (hours 50);
cout 
return (hours);

double calcGross(double rate, int hours)
{
double gross;
if (hours > 40)
gross = (40 * rate) + ((hours – 40) * rate * OVERTIME_RATE);
else
gross = rate * hours;
return gross;

double calcTax(double gross, double taxRate)
{
double taxAmount;
taxAmount = gross * taxRate;
return taxAmount;
 
Download Attachment: 
example.cpp

TutorPro
Calculate your paper price
Pages (550 words)
Approximate price: -
Tutorpro

High Quality Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level or professional level, and we will assign a writer who has a respective degree.

Tutorpro

Experienced Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Tutorpro

Free Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document.

Tutorpro

Timely Delivery

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension.A 100% refund is guaranteed.

Tutorpro

100% Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text.

Tutorpro

24/7 Customer Services

Tutorpro support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Tutorpro Homework Help Services

At Tutorpro, we have top rated masters and PhD writers who will help you tacke that homework and score A+ grade. Tutorpro services covers all levels of education : high school, college, university undergraduate, masters and PhD academic level.

Essays

Essay Writing

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Tutorpro

Admissions

Admission Essays

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Tutorpro

Editing

Essay Editing

Tutorpro academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Tutorpro

Revision

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. This is free because we want you to be completely satisfied with the service offered.