How to count salary of a sales man using C
in This article am sharing some source code for counting salesman salary
Want to learn count salary of a sales man using C ?
Check out this article.here I have provided the source code to count salary of a sales man using C Programming.
this article only for beginner in C#
Source code for counting salary of a salesman
#define base_salary 1500.00
#define bonus_rate 200.00
#define commision 0.02
printf("input nummber of sold items and and price\n");
bonus = bonus_rate * quantity;
commission= commision * quantity * price ;
gross_salary= base_salary + bonus + commision ;
printf("bonus = %6.2f\n",bonus);
printf("commision = %6.2f\n",commision);
printf("gross salary = %6.2f\n",gross_salary);
No responses found. Be the first to comment...