j

Monday, 2 November 2015

Write a program that take user per month income and show him into per year,per day, and per hour income



#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
long int pm,ph,pd;
long int py;
cout<<"Enter your monthly income ::";
cin>>pm;
pd=pm/30;
ph=pd/12;
py=pm*12;
cout<<"Your per hour income is "<<ph<<endl;
cout<<"Your per day income is "<<pd<<endl;
cout<<"Your per year income is "<<py<<endl;
getch();
}

Subscribe to this Blog via Email :