Question

We need to write a C Programming Code for the below constraints. An IT organization decides...

We need to write a C Programming Code for the below constraints.

An IT organization decides to collect details of an employee and process the details to decide on whether the employee :

• Employee has any meritorious achievement

• Is he eligible for promotion

• Does he need additional technical training support for performing tasks assigned

The following details need to be collected, namely his name, contact details, skills and qualification, service, awards, etc

• The employee would be often incentives if he has received awards for any IT skill and has completed 6 years service

• The employee would be offered promotion if he has contributed to improve business by way of designing new software and patented the same

Homework Answers

Answer #1

The complete C Program with output is given below. For qualification, we have assumed that if the person is graduated then no additional technical training is required, else additional training will be required.

C Code :


#include <stdio.h>

int main()
{
char name[30],contact_no[12],skills[50],graduate;
int awards,services;
printf("Enter Employee Name : ");
fgets(name, 30, stdin);
printf("Enter Contact Number : ");
fgets(contact_no, 20, stdin);
printf("Enter Skills separated by comma(,) : ");
fgets(skills, 50, stdin);
printf("Have you done graduation? (y/n) : ");
scanf("%c",&graduate);
printf("Have you ever contributed to improve business by way of designing new software and patented the same? (0 for no / 1 for yes) : ");
scanf("%d",&services);
printf("Enter number of awards you got : ");
scanf("%d",&awards);

  
printf("\nEmployee Name : %s\n",name);
printf("Employee Contact Number : %s\n",contact_no);
printf("Employee Skills : %s\n",skills);
  
if(graduate=='y')
{
printf("No additional traning is required to the employee.\n");
}
else
printf("The employee needs additional technical training support for performing tasks assigned.\n");
  
if(awards!=0)
{
printf("The Employee is incentive.\n");
}
else
printf("The Employee is not incentive.\n");
  
if(services=='1')
{
printf("The employee should be given the promotion.\n");
}
else
printf("The employee should not be given the promotion.\n");
  return 0;
}

Output :

If you have any doubt regarding the solution then let me know in comment. If it helps, kindly give an upVote to this answer.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
CASE 6-2 NOT GETTING FACE TIME AT FACEBOOK—AND GETTING THE LAST LAUGH! In August 2009, Facebook...
CASE 6-2 NOT GETTING FACE TIME AT FACEBOOK—AND GETTING THE LAST LAUGH! In August 2009, Facebook turned down job applicant Brian Acton, an experienced engineer who had previously worked at Yahoo and Apple. More than 4 years later, Facebook paid him $3 billion to acquire his 20% stake of WhatsApp, a start-up he had cofounded immediately after Facebook rejected his job application.(1) WhatsApp Messenger is a proprietary, cross-platform, instant-messaging subscription service for smartphones and selected feature phones that use the...
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation....
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation. case:    W17400 APIGEE: PEOPLE MANAGEMENT PRACTICES AND THE CHALLENGE OF GROWTH Ranjeet Nambudiri, S. Ramnarayan, and Catherine Xavier wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...