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.
#include<stdio.h>
#include<conio.h>
void main()
{
int sal_amt,gro_sal;
printf("Enter your salary = ");
scanf("%d",&sal_amt);
gro_sal=sal_amt+sal_amt*0.40+sal_amt*0.20;
printf("Gross salary = %d",gro_sal);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
code of a program in c language that ask a number and print its decremented and incremented number.. sample output: input number : 3 321123
write the function. if all the character in string B appear in string A, return true, otherwise return false.
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
why the range of an unsigned integer is double almost than the signed integer.
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
how to concatenate the two strings
How we print the table of 3 using for loop in c programing?
Derive expression for converting RGB color parameters to HSV values
How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com
abcdedcba abc cba ab ba a a
find simple interest & compund interest
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }