|
|
|
|
|
| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 18 Feb 2008 13:24:07 IST
|
|
|
#include<iostream.h> #include<conio.h> void main() { float sal[10]; int count; cout<<"Enter the monthly salaries of 10 employes"; for(int i=1;i<=10;i++) { cin>>sal[i]; sal[i]=sal[i]*12; if(sal[i]>=100000) count++; } cout<<"The number of employes getting salary" <<"more than one lakh are "<<count; getch(); }
|
Be not afraid of growing slowly.
Be afraid only of standing still.
|
this reply: 10 points
(with 2 
in 2 votes ) [?]
|
|
You have to be logged on to rate
|
|
|
|
|
|
|
|
|
|