Define a structure that contains a character member

Assignment Help Computer Engineering
Reference no: EM132208387

Write a program in C language that:

a. Defines a structure called Employee that contains a character member called id that can hold an id that is up to 9 characters long and a float member representing the salary.

b. Define and integer variable named EmployeesCount and initialize it to 3 employees .

c. Allocate enough memory for an array to hold the information for the following three employees?.

d. Have your program give every employee a raise of 10% and display the new information about your employees (Th program has to calculate the ne salary and not you using a calculator)

e. Your program must not cause any memory leaks

Reference no: EM132208387

Questions Cloud

Describe the process of managing a network security : Design WAN infrastructures and Implement WAN infrastructures - Identify one monitoring tool and explain in detail how the National Park Service
What are the isoprofit curves : What are the isoprofit curves? Why is only the zero-profit isoprofit curve relevant in our analysis of compensating wage differential?
Create a separate class for the jobs : Create a separate Class for the jobs. Each job has a ID, Arrival time, Burst Time, and Priority.
Write a program to play the memory game : Children often play a memory game in which a deck of cards containing matching pairs is used. The cards are shuffled and placed face down on a table.
Define a structure that contains a character member : Define and integer variable named EmployeesCount and initialize it to 3 employees .
Describe the supply chain components : Study supply chain structure of any humanitarian organization in the United Arab Emirates or in any other country worldwide. Identify its main supply chain.
A program to show the truth table for a simple wff : Write a program in C++ that will output the truth table for a simple wff. There will only be Ps and Qs, so you can hard code the P truth table
Determine how you derived your solutions : Suppose a 6-year timeframe where the interest rate for the first 2 years is 10%, the interest rate for the next 2 years is 12% and the interest rate.
How many values in the array are not a multiple of 2 : The program should print the number of odd values in the array, that is how many values in the array are not a multiple of 2.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Calculate the peak performance in g flops with reasoning

Calculate the peak performance in G flops with reasoning in each of the following two vector supercomputers. The Cray Y-MP C-90 with 16 vector processors.

  What are the major issues with wi-fi in homes

What are the main differences between Wi-Fi, Wireless and 3G? What are their advantages and disadvantages. What are the main issues with Wi-Fi in homes?

  Make any documentation that normally occur

The Course Project is comprised of several steps that will result in a completed, tested solution. Complete all steps of the development life cycle for a small project of your choosing.

  Draw a block diagram of a possible architecture

Draw a block diagram of a possible architecture for such a system.You should identify the principal sub-systems and the links between them.

  Write a program that fulfills the requirements specified

Write a program that fulfills the requirements specified here: Read and parse the "From" lines and pull out the addresses from the line.

  Describe the hardware software and network architectural

describe the hardware software and network architectural design of the infrastructure used to build cloud computing

  Describe lighting system consisting of lamp and two buttons

Describe a lighting system consisting of one lamp and two buttons. If the lamp is off, pushing either button causes the lamp to switch on, and conversely.

  Draw a two-dimensional house seen from the front

Draw a two-dimensional house seen from the front, the way a child would: with a door, two windows, and a roof with a chimney.

  Build a website with these pages

Using JavaScript and HTML, Build a website with these pages. Let a user input name, email address. Post to the server.

  Find the system response due to given an input

A filter has the sinusoidal amplitude response shown in Fig. P3.1.2. The phase response is lin- ear with slope -2-rr/O.

  Create two new qlineedits for name and symptoms respectively

Create two new QLineEdits for name and symptoms respectively. Create a new QSpinBox for year of birth. Set appropriate range of allowed values with setRange().

  Pros and cons of these three approaches

It is possible to design and edit web pages in a number of ways. For example, we could edit HTML tags by hand, use a visual editor such as Dreamweaver or use an HTML generator to edit a layout and then create the HTML from it.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd