Define and integer variable named employeescount

Assignment Help C/C++ Programming
Reference no: EM132101190

Please write a program in (C) not (C++).

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 (The program has to calculate the salary and not you using a calculator)

e. Your program must not cause any memory leaks

Reference no: EM132101190

Questions Cloud

Write a program that initially prompts the user for a file : Write a program that initially prompts the user for a file name. If the file is not found, an error message is output, and the program terminates.
Write a program calendar c that takes two inputs : Write a program calendar.c that takes two inputs: the start day of a month [Sunday is 0, Monday is 1,....., Saturday is 6] and the number of days in a month.
Create an array that holds random integers : Create an array that holds 1000 random integers between 1-1000. Please write a short paragraph, bullet points.
Prove the logical equivalence of conditional statement : Prove the logical equivalence of conditional statement and contrapositive of two propositional variables using truth table.
Define and integer variable named employeescount : 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.
Create a class with the name student : Create a constructor that initializes all int to 0, float to 0.0, char to ' ', name = "NoName".
Show total distance traveled and total gas consumed : Allow the user to keep entering data in 5 minute increments until the user has no more data to enter. Show total distance traveled, total gas consumed.
Create a class line which consists of start -end coordinates : Create a class Line which consists of start and end coordinates, and line type.The default value for line type should be vertical.
Write a mips program that will read in a base : Write a MIPS program that will read in a base (as an integer) and a value (nonnegative integer but as an ASCII string) in that base.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a class coord that includes degrees and minutes

The main () program must allow the user to enter the coordinates one-by-one, create the Coord object, and apply its toString() method for displaying. You can use hex character constant 'xB0' for printing the degree symbol (°).

  Investigate the unified modeling language

Investigate the Unified Modeling Language (UML) on the Internet. Briefly describe the development of the latest UML diagrams. Explain how UML differs from the older ways of writing programs in the past. List down the advantages and disadvantages o..

  Create a program that represents a savings account

In C++, create a program that represents a savings account. The program should be written. Create a class named SavingsAccount.

  Write a program that allows user to input students names

Write a program that allows the user to input the students' names followed by their test scores and outputs the following.

  Prepare a binary to decimal memory game

The computer generates a random sequence of 0s and 1s creating a binary number - prepare a binary to decimal memory game.

  Statement that best describes bayesian reasoning

what is the equation of that separates the two classes - Select the statement that best describes BAYESIAN reasoning

  Implement a program for this machine

Implement a program for this machine - design a special ATM machine to be used by needy people.

  Write a program that prompts the lowest temperature

Write a program that prompts the user for the lowest and highest Fahrenheit temperature wanted in the table, and also prompts the user for the desired step size between rows of the table.

  Write c++ programs

Write a C++ program to accept distance in kilometers, coverts it to meters and then displays the result. Write a C++ program to find area and circumference of a circle.

  Create an activity scheduler program

For this assignment you will create an Activity Scheduler program. The main method creates the scheduler and some activities to be scheduled. Then it invokes the scheduler methods in order to get the activities to run. The scheduler doesn't know a..

  Design a program that uses a loop to display

Running on a particular treadmill you burn 3.9 calories per minute. Design a program that uses a loop to display the number of calories burned after 10,15,20,25,30 minutes?

  Write a complete c++ program

The main program will read in a parameter value n (read this in main). Then it will call a function read2arrays (details below) to read lists of grades into two arrays, which the main program will call test1 and test2 (or some other names of your ..

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