Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what I'm I missing to make this work ? developerInfo(); twiceMonth = amount / 24 biWeekly = amount / 26 thats why i insert in

what I'm I missing to make this work ? developerInfo();
twiceMonth = amount / 24
biWeekly = amount / 26

thats why i insert in that section thats what missing but did i put the wrong information

//********************************************************************
//
// Author: //CM//
//
// Program #: //Programming 1//
//
// File Name: //Program1.cpp//
//
// Course: COSC 1337 Programming Fundamentals II
//
// Due Date: //10-01=2023//
//
// Instructor: Prof. Fred Kumi
//
// Chapter: //Chapter 1-3//
//
// Description:
//
//********************************************************************

#include
#include

using namespace std;

void holdScreen();
void developerInfo();

//***************************************************************
//
// Function: main
//
// Description: The main function of the program
//
// Parameters: None
//
// Returns: Zero (0)
//
//**************************************************************
int main()
{
double amount = 32500.0;

cout << showpoint
<< fixed
<< setprecision(2);

developerInfo();
twiceMonth = amount / 24
biWeekly = amount / 26


cout << "Annual Salary = " << setw(8) << amount << endl;
cout << "When paid twice a month = " << setw(8) << twiceMonth << endl;
cout << "When paid bi-weekly = " << setw(8) << biWeekly << endl << endl;

holdScreen();
return 0;

} // End of main function

//*********************************************************************
//
// Function: holeScreen
//
// Description: The hold screen function
//
// Parameters: None
//
// Returns: None
//
//*********************************************************************
void holdScreen()
{
char ch;

cout << "\nPress any key to exit... ";

ch = getchar();
}

//***************************************************************
//
// Function: developerInfo
//
// Description: The developer information function of the program
//
// Parameters: None
//
// Returns: NA
//
//**************************************************************
void developerInfo()
{
cout << "Name: CM" << endl;
cout << "Course: COSC 1337 Programming Fundamentals II" << endl;
cout << "Program: One"
<< endl
<< endl;

} // End of the developerInfo function

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

what language is squert written in

Answered: 1 week ago