Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started