The program does run however, once the year is entered the program stops. So I am thinking that there is something wrong with:
int display (int dia, int mes, int anos)
{
cout << "";
return 0;...
Type: Posts; User: taurusborn
The program does run however, once the year is entered the program stops. So I am thinking that there is something wrong with:
int display (int dia, int mes, int anos)
{
cout << "";
return 0;...
I have three warnings on this program:
#include <iostream.h>
int get_month ();
int get_day ();
int get_year ();
int display (int,int,int);
void main ()
thanx guys.
Hey guys I am having trouble with my while statement:
if (id >= 1 && id <= 499)
{
cout << "\nPlease enter hours worked: ";
cin >> hrs;
...
Thanx, David for your help
Hey, I am doing a while statement where I am manipulating the outputs. My problem is I dont know how to manipulate each ouput.
eg: int 1 = 0;
while(i < 10 )
{
i...
Thanx a million guys, my program now works, you guys rock!!!:D
Hey guys I need to combine the following into one if statement:
else if (hrs >= 40.01)
{
salary = hrs * payrt * 1.5;
cout << "\nYour gross pay for the week is " << setw(1) << ":"
...
Thanx guys, a million.
Tony.
Hey guys,
I am new here and I am also new to computer programing in general. Anyways I am having trouble with a line in my program:
cout << '\n' << setw(3) <<num2+2;
The...