/* Calculation of bonus */ main( ) { int bonus, cy, yoj, yr_of_ser ;
printf ( "Enter current year and year of joining " ) ; scanf ( "%d %d", &cy, &yoj ) ;
yr_of_ser = cy - yoj ;
if ( yr_of_ser > 3 ) { bonus = 2500 ; printf ( "Bonus = Rs. %d", bonus ) ; } }
|
| Author: Lenin 10 Jun 2008 | Member Level: Diamond Points : 2 |
Giri nice contributions , what is your profile
|
| Author: Lenin 10 Jun 2008 | Member Level: Diamond Points : 2 |
hi giri are you a computer student , i know only small programs in C.But i know C is a SEA.Am i right ? I remember the days when i used to mugup the codings for Lab exams.still c fear is there. Also still C is in flying colours
|