bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

commit adbd565e5aae5d8faf0187b5a66a0abb1d5ac7c8
parent bd60e278f7b88e361c2e11d89cab4c508c9b3e23
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Sun, 14 Sep 2025 20:14:41 +0530

Delete tution-c/P9.c
Diffstat:
Dtution-c/P9.c | 23-----------------------
1 file changed, 0 insertions(+), 23 deletions(-)

diff --git a/tution-c/P9.c b/tution-c/P9.c @@ -1,23 +0,0 @@ -/* WAP to calculate gross and net salary -by accepting basic salary as input. -IMP : DA = 30% of Basic Pay - HRA = 20% of Basic Pay - PF = 12.5% of Basic Pay - Gross Salary = Basic Pay + DA + HRA - Net Salary = Gross Salary - PF -*/ - -#include<stdio.h> -int main() { - double bs, da, hra, pf, gs, ns; - printf("Enter the Basic Salary : "); - scanf("%lf", &bs); - da = bs * 0.3; - hra = bs * 0.2; - pf = bs * 0.125; - gs = bs + da + hra; - ns = gs - pf; - printf("\nGross Salary : %lf" - "\nNet Salary : %lf", gs, ns); - return 0; -}
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror