7. Write a program to accept the salary of an employee and print his group
Range:
salary >=10 lakh- GROUP A
>=5 lakh and <10 lakh- GROUP B
<5 LAKH- GROUP C
Answers
Answered by
1
#include <studio.h>
int main()
{ int salary= S;
if S>= 10 lakh
{
printf( "GROUP A");
}
if S>=5 lakh
{
printf(" GROUP B");
}
else
{
printf(" GROUP C");
}
return 0;
}
hope you find this helpful.
Similar questions