Will you help me please ?......friend
I am learning ansi c language i want a program on following conditions q is:[size="4"]accept the salary of an employee from the user .calculate the gross salary on the following basis: basic hra da 1-4000 10% 50% 4001-8000 20% 60% 8001-12000 25% 70% 12000 and above 30% 80%[/size] please send me program in ansi c language thank you
Re: Will you help me please ?......friend
Hi,
This is very very simple program.
So many people are here to help u,...but my point is, its better to help urself since this is very simple code line ( i dont know how many will accept this). Let me ask only one question: Do u want to study C or just for time being or like homework, u want to write this program?.
If u want to study, let me send u an algorithm to start. Else, reply as ur need.
For this program, u have to know the some basic syntax
1. To get the data from the user?
2. The syntax for : if else loop.
3. To display the result.
That's it . Upgrade urself,...coding ourselfs may take time but will make as happy more than getting the code from others early.