Write basic C program to calculate gross salary

C Programming Tutorial

Write a C Program for the following :- Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary. Answer:  /* To Calculate the gross salary of Ramesh */ #include<stdio.h> #include<conio.h> main() { … Read more

Write a c program for Calculation of aggregate and percentage marks

C Programming Tutorial

Problem Statement: If the marks obtained by a student in five different subjects are input through the keyboard, find out the aggregate marks and percentage marks obtained by the student. Assume that the maximum marks that can be obtained by a student in each subject is 100. Answer: /* Calculation of aggregate and percentage marks … Read more