C programming

2021.10.16 04:30 Varshith2134 C programming

Question:
Stephen is working in one company. His job is to give the salary to workers based on the certain conditions provided by company. Every month he is doing the calculations repeatedly. Now he got tired up of this calculations, now he need a program that calculate the salary as per the conditions of the company. Help him by writing the code.
Conditions of the company:
Gender Years of Service Qualifications Salary
Male >= 10 Post-Graduate 15000
>= 10 Graduate 10000
< 10 Post-Graduate 10000
< 10 Graduate 7000
Female >= 10 Post-Graduate 12000
>= 10 Graduate 9000
< 10 Post-Graduate 10000
< 10 Graduate 6000
#include
void salary(char g,int expe,char qual)
{ char M,P;
if(g=='M'||'m')
{
if(expe>=10)
{
if(qual=='P'||'p')
{
printf("Salary=15,000");
}
else
{
printf("Salary=10,000");
}
}
else
{
if(qual=='P'||'p')
{
printf("Salary=10,000");
}
else
{
printf("Salary=7,000");
}
}
}
else
{
if(expe>=10)
{
if(qual=='P'||'p')
{
printf("Salary=12,000");
}
else
{
printf("Salary=9,000");
}
}
else
{
if(qual=='P'||'p')
{
printf("Salary=10,000");
}
else
{
printf("Salary=6,000");
}
}
}
}
int main()
{
char g,qual;
int years;
printf("Enter your Gender(M/F): ");
scanf("%c",&g);
printf("Enter your Experience: ");
scanf("%d",&years);
printf("Enter your Qualification(G=Graduate::P=Post-Graduate): ");
scanf("%c",&qual);
salary(g,years,qual);
return 0;
}
Unable to take input for Qualification Please Help.Thanks in Advance.
submitted by Varshith2134 to C_Programming [link] [comments]


2021.10.16 04:30 TheBurningMaul Take me back to the start..

submitted by TheBurningMaul to sixwordstories [link] [comments]


2021.10.16 04:30 AcryllicCoffee Most "heavy" weapons per squad?

I'm hoping to augment my existing army with a dedicated havoc/devastator squad, but I'm having the big dumb some trouble deciphering the loadout rules. So, how many "heavy" weapons can I take per squad, and which ones would y'all recommend?
submitted by AcryllicCoffee to deathguard40k [link] [comments]


2021.10.16 04:30 mastercontrol98 P.T.N. News - Trade mission - P.T.N. DRUNKEN MOOSE B8J-8QZ - 16 October 3307 02:26 UTC

P.T.N. News - Trade mission - P.T.N. DRUNKEN MOOSE B8J-8QZ - 16 October 3307 02:26 UTC submitted by mastercontrol98 to EliteCarriers [link] [comments]


2021.10.16 04:30 MunchingDude TOWNSTAR Gala Games Crypto NFT farmville!

TOWNSTAR Gala Games Crypto NFT farmville! submitted by MunchingDude to GamezInvaders [link] [comments]


2021.10.16 04:30 Noeserd A [1 series coupe] i spotted yesterday, these are quite rare here

A [1 series coupe] i spotted yesterday, these are quite rare here submitted by Noeserd to spotted [link] [comments]


2021.10.16 04:30 Dread2187 I wore a skirt in public for the first time.

I had been planning this for about a week. My school has football games every other weekend, so I decided that I'd wear the skirt which I bought months ago. I walked home with my cousins after school and one of our mutual friends did my makeup (it looked fantastic). Then, I wore my skirt to the game and had honestly a great time. Got asked if I was gay twice which is understandable. And, a few people even complimented my outfit and makeup which was great. Surprisingly, no one took issue with it and we even ran into a few people at the park prior to going there, one of whom was wearing a full maid dress and also complimented my skirt.
Overall, 10/10.
submitted by Dread2187 to feminineboys [link] [comments]


2021.10.16 04:30 _Univyrs GC2!!! (AMA)

GC2!!! (AMA) submitted by _Univyrs to RocketLeagueSchool [link] [comments]


2021.10.16 04:30 Recubegames Recube DX266 Demo for Tilt Five Tabletop AR Glasses

Recube DX266 Demo for Tilt Five Tabletop AR Glasses submitted by Recubegames to recube_games [link] [comments]


2021.10.16 04:30 boxonhead11 Desk job employees: What is some organizational advice you would recommend?

submitted by boxonhead11 to AskReddit [link] [comments]


2021.10.16 04:30 hcgsoccer11 Why do you think not capitalizing the first word in sentences a thing now?

submitted by hcgsoccer11 to AskReddit [link] [comments]


2021.10.16 04:30 Banime2019 "What do you think of my costume darling?" Art by rtil

submitted by Banime2019 to MonsterMusume [link] [comments]


2021.10.16 04:30 Comprehensive_Owl521 A New Chapter of Infinite Strike Has been posted, If interested in a #Fantasy #Action #MangaStyle #Comic... Come and Check it out! Links Down Below in Comments

A New Chapter of Infinite Strike Has been posted, If interested in a #Fantasy #Action #MangaStyle #Comic... Come and Check it out! Links Down Below in Comments submitted by Comprehensive_Owl521 to LINEwebtoon [link] [comments]


2021.10.16 04:30 PerspectiveDouble783 Tried to kill Alex Moyer

Hi guys. I'm playing The Sims 4 on the PS4 and I'm trying to get the Black Widow (make a sim outlive 5 spouses) trophy for quiet some time now and I married with the first sim I've found which was Alex Moyer. After days trying to kill her in the pool, with a crashing rocket or ate by a cowplant I looked for Alex Moyer in The Sims wiki and discovered that "Alex is one of the many sims who can't die of anything.
Now I'm feeling dumb as f*ck lol XD
submitted by PerspectiveDouble783 to Sims4 [link] [comments]


2021.10.16 04:30 aussiegolem Any ideas where Store items, specifically weapons end up?

So I bought a weapon and charm from the store. Can’t seem to find them anywhere in my inventory. Store tab says they are purchased. When I bought them I got a pop up saying something along the lines of “don’t worry you will get your items soon”.
Not sure if they’re using express shipping or not smh
submitted by aussiegolem to farcry6 [link] [comments]


2021.10.16 04:30 s_eon Need a guard ps4 for 2s 70wp+

submitted by s_eon to NBA2kTeamUp [link] [comments]


2021.10.16 04:30 AutoModerator Happy Cakeday, r/FreeWrite! Today you're 9

Let's look back at some memorable moments and interesting insights from last year.
Your top 1 posts:

submitted by AutoModerator to FreeWrite [link] [comments]


2021.10.16 04:30 AutoModerator Weekly /r/bangtan Room (방탄방) - October 16, 2021

This is a free-for-all, casual discussion thread For more detailed information of what goes here, click this link.
If you have questions about BTS or need help using the subreddit, please check this list of resources:

💜 Both the Weekly Room and Weekly House of A.R.M.Y. have the same purpose: to be free-for-all, casual threads for daily discussion. There is no difference between them.
submitted by AutoModerator to bangtan [link] [comments]


2021.10.16 04:30 AutoModerator DOORDASH COUPON PROMO CODE: $10 OFF YOUR FIRST THREE ORDERS OVER $15 (WORKING SEP. 2021)

https://www.doordash.com/consumereferred/7ac3095b-0e2d-4bb6-b591-a49885b4475a
Unlimited uses, just have to create new accounts whenever you’ve used up your three previous discounts and want more cheap food! 🙂
submitted by AutoModerator to DoorDashCoupon [link] [comments]


2021.10.16 04:30 AnnaGorlos The unique putty-like viscosity ensures smooth, flawless nails and color. PolyGel's formulation combines acrylic powder for strength in a gel base with photo initiators providing workability without any unpleasant odor. Stop wasting time and money at salons, and get the PolyGel Nail Kit today!

The unique putty-like viscosity ensures smooth, flawless nails and color. PolyGel's formulation combines acrylic powder for strength in a gel base with photo initiators providing workability without any unpleasant odor. Stop wasting time and money at salons, and get the PolyGel Nail Kit today! submitted by AnnaGorlos to Annaxo [link] [comments]


2021.10.16 04:30 andrewwebb1234 Binance Us Referral Code Bonus

The most used and at the same time the most reliable crypto exchange platform is Binance. Also, Binance extremely easy to use and learn. By registering with Binance Us Referral Code Bonus, you can earn a 20% commission discount on each purchase.
There is a 20% Binance Referral Code: 77181558
How to Register Binance? To make an account with Binance, you should simply get enrolled on the Binance site. On the enrollment page you will be elevated to enter a substantial email address and pick a secret phrase for yourself. When you consent to the Terms and Conditions, you will be approached to check your account by means of email. The email shipped off your given account will contain a connection where you can check your Binance account. When you click on the connection, your Binance account has been made and you are prepared to start exchanging. Yet, before you do, we suggest getting your account through two-factor confirmation. Since exchanging cryptographic money is an expensive and dangerous cycle, it is fundamental for guard your account from any programmers on the web. Binance permits you to set up 2FA and interface your account to your versatile number. This implies that before you can sign in to your Binance account from another gadget, you will be approached to confirm your personality through the telephone number gave.
Funding Your Binance Account As referenced before, Binance is absolutely a cryptocurrency trade application. This implies that to begin exchanging with Binance, you will be needed to finance your account with some current cryptocurrency. This should be possible utilizing some other cryptocurrency trade wallet. Just go to your wallet where you have the cryptocurrency put away, select the amount you need to move, and send those assets to your substantial Binance account. The most awesome aspect of exchanging with computerized monetary standards is that everything occurs in a moment. When you select 'send' from your crypto trade wallet, your Binance account will be supported right away. If you register with a Binance Referral Link, it will provide to you 15% discount from your each buying.
submitted by andrewwebb1234 to BinanceCodesReferral [link] [comments]


2021.10.16 04:30 babysage__ i want my toes sucked 😢

i want my toes sucked 😢 submitted by babysage__ to FootFetishExperiences [link] [comments]


2021.10.16 04:30 radishspirit7 [Event] The Final Fantasy VII Remake concert comes to Hawaii next month

submitted by radishspirit7 to Hawaii [link] [comments]


2021.10.16 04:30 pleasedontfollowm3-4 Gabriela De La Garza

Gabriela De La Garza submitted by pleasedontfollowm3-4 to womenworship [link] [comments]


2021.10.16 04:30 NanaaaKaa Just want to say congrats to the Asteroids Masters

Seriously... went as high as level 13... this is so hard. Well done if you did it... I will be Stuck in space forever 🤣
submitted by NanaaaKaa to utahtreasurehunt [link] [comments]


http://tadasanastudio.ru