Create a global array of structures

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

Create a global array of structures with the following data. Each structure should store the data (Employee Table - Name, age, salary information) . Array size must be at least 10.

eg.Smith 44 9000
Tom 32 4000

Amanda 40 3500

Amanda 20 1600

John 30 4000

Peter 25 6000

Nicole 26 6500

Steve 45 7000

Steven 20 2000

Jeff 33 8000

(2) using Printf function to print he Array of structures;
(3) Using Bubble Sort Algorithm, with Name as the key, sort the array and display the sorted array;
(4) Using Bubble Sort Algorithm, with Salary information as the key, sort the array and display the sorted array

(5) Flow chart for the program

Reference no: EM13165474

Questions Cloud

Write a linked-list-based push-down stack implementation : Write a linked-list-based push-down stack implementation that keeps items on the list in order from least recently inserted to most recently inserted. You will need to use a doubly linked list.
Create 3 files date.h, date.cpp, date_main.cpp : create 3 files date.h, date.cpp, date_main.cpp that will create a birth date and a graduation date in the form MM/DD/YYYY
Prepare a statement of cash flows for 2012 : Prepare a statement of cash flows for 2012 using the indirect method in the Operating Activities section and problem Statement of Cash Flows Indirect Method
Identify five different it systems : Identify five different IT systems that have affected business in the past few years. For each system, briefly note the following: · A name for the system
Create a global array of structures : Create a global array of structures with the following data. Each structure should store the data (Employee Table - Name, age, salary information) . Array size must be at least 10
The techniques in discovering the requirements : What are some of the techniques in discovering the requirements (fact finding) for a system?
Person class that includes fields for last name : Create a Person class that includes fields for last name, first name, and zip code. Include a default constructor that initializes last name, first name, and zip code to "X" if no arguments are supplied. Also include a display function. Write a ma..
Find a regular expression and an finite automata : For the following pair of regular languages, find a regular expression and an Finite Automata that each define L1 ? L2
Discuss how your organization might use the findings : The purpose of the study defines what the researcher wants to find out and is found in the introductory section of the research article. Sometimes the purpose contains a research questions.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Multiple heaps

Create an application that has two heaps. Place a linked list into each heap. Select one hundred random numbers. Place each of the random numbers into each heap - CSI 345 - Spring 2014 S2

  Ng stands for next guess

Where NG stands for next guess and LG stands for last guess. Write a function that calculates the square root of a number using this method. The initial guess will be the starting value of LG .

  Create a c++ console application

Objective: Create a C++ console application that will model the characteristics of a resistor. Create a multifile project. Create and add to the project an h file containing the resistor-class definition. Create and add to the project a cpp file cont..

  Create a 1-dimensional (1d) array

Write a program to create a 1-dimensional (1D) array that contains 15 characters and display to the screen a count of the occurrences of each of the vowels a, e, i, o, and u in the array.

  Draws a pyramid consisting of bricks

Write a C program that draws a pyramid consisting of bricks arranged in horizontal rows, so that the number of bricks in each row decreases by one as you move up the pyramid.

  Build a traffic light system - microcontroller system

Build the whole system with 3 RAG units and three puffin crossing units and build a team to work on this mini-project, be careful in selecting your team member.

  Write a program to find the middle element in a linked list

1. Write a program to check if there is a loop in a linked list. Create a loop in a linked list and use your method 'isLoop' to identify that the loop exists. The method isLoop should return a Boolean type.2.

  Skills required by personnel working in information security

What skills are required by personnel working in information security? Write down some job titles in the field and come up with some required qualifications and some desirable qualifications.

  Write a matrix multiplication program

Write a C++, matrix multiplication program which you can instrument to monitor and measure execution time as a function of problem size. Make sure it works in Microsoft Visual Studio.

  Function that returns the height of a binary tree

Write a function called getHeight() that returns the height of a given binary tree - CptS 122 Write a function called countSmallerThan() that returns the number of nodes whose values are smaller than the supplied input paramter

  Takes 100 number in an array

Write a program in c++ that takes 100 number in an array and add them and print the sum

  Returns a count of the steps through the sort

Please write a c++ implimentation that returns a count of the steps through the sort. (do not worry about updating count, I will rewrite that segemnt. I need help with writing the shell sort.

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