j

Monday, 2 November 2015

Write a Program that take per hour income of an employee and number of hour he works per day and the find his weekly income



#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int hour_income,no_hour,weekly_income,daily_income;
cout<<"Enter per hour income ::";
cin>>hour_income;
cout<<"Enter number of hours that you works per day ::";
cin>>no_hour;
daily_income=hour_income*no_hour;
weekly_income=daily_income*7;
cout<<"Your weekly income is "<<weekly_income;
getch();
}

Subscribe to this Blog via Email :