j

Tuesday, 3 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<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int hour_income,no_hour,weekly_income,daily_income;
printf("Enter per hour income ::");
scanf("%d",&hour_income);
printf("Enter number of hours that you works per day ::");
scanf("%d",&no_hour);
daily_income=hour_income*no_hour;
weekly_income=daily_income*7;
printf("Your weekly income is %d",weekly_income);
getch();
}

Subscribe to this Blog via Email :