Program to calculate salary of family members

Assignment Help Computer Engineering
Reference no: EM1321907

Suppose that your family has 10 members. Suppose further that every family member has the particular amount of the savings. Your task is to find:

a) The total amount of savings that the family has, as a whole and

b) To find who has the largest savings.

In order to solve this problem:

a) Show the pseudo code declarations required declaring two arrays - one an array that consists of the names of family members, and other an array that consists of the savings (i.e. money) held by every family member. The arrays are parallel arrays since the savings displayed in the second array for a particular array position are the savings for the family member whose name emerges in the same position in the first array.

b) Write down a function that is known as from the main module - this function will find and return the total savings.

c) Write down a function also known from the main module - this function will find and return array index consisting of the largest savings. Your main program must then print the name of person who holds those savings, as well as the amount.

Reference no: EM1321907

Questions Cloud

Swot analysis for nike company : Create a SWOT analysis for the company (NIKE) you chose to research. Your analysis should be between one to two pages and identify the company's strengths, weaknesses, opportunities, and threats.
Fixing null and alternate hypotheses for single proportion : In terms of  p , the researcher should test which of the following null and alternative hypotheses?
Decreasing risk of malicious attacks : While a large percentage of the information technology security budgets is devoted to decreasing the risk of malicious attacks, there exist other ways in which systems or data become damaged.
Finding mean life length of the batteries : At.05 level of significance, is there evidence to propose that mean life length of the batteries manufactured by this manufacturer is more than 400 hours?
Program to calculate salary of family members : Suppose that your family has 10 members. Suppose further that every family member has the particular amount of the savings. Your task is to find: The total amount of savings that the family has, as a whole and To find who has the largest savings.
Metro limo also urban limo operate nine passenger vans : Metro Limo also Urban Limo, operate nine passenger vans. These duopolists cannot compete with price, but they can compete through advertising.
The combined degrees of freedom : The combined degrees of freedom
Make an ethical decision : Mary, along with some other female employees of her company, has petitioned management to increase the length of maternity leave to six months. The management has turned down their request.
Finding correlation between rental cost and apartment size : At.05 level of significance determine if correlation between rental cost and apartment size is significant.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Transfering the power over ethernet

A recent article in an industry magazine discussed the ability to transfer the Power over Ethernet (PoE) and an emerging technology which is able to transfer the Power over Fiber (PoF).

  Utilizing automatic end-of-file logic to signal end of input

Design an algorithm to compute and print the average earnings, lowest earnings, and the highest earnings of a group of employees. Every input record will consists of name and earnings of one employee.

  Implementing gcd in assembly language

Implement this function in the assembly language and write down a test program which calls function many times, passing it several values. Show all results on screen and include screen shots of the outputs.

  What is mflops rating of the system

What is MFLOPS rating of the system

  Algorithm for carrying out concatenation operation

Develop an algorithm that concatenates T1 and T2 into the single binary search tree. The worst case running time must be O(h), where h is the maximum of h1 and h2, the heights of T1 and T2.

  Describe the meaning of storage density

Describe the meaning of storage density

  Collection of the volatile data for investigation

Discuss with others what kinds of the data are considered volatile and the methods through which the investigators should collect and preserve the volatile data. Recognize the consequences of not collecting or preserving the volatile data to the i..

  Asynchronous sequential logic circuit

An asynchronous sequential logic circuit

  Assembly program to find out the price of a car rental

Write down an Assembly program in order to find out the price of a car rental. The car being rented costs $45 per day and frequent renters get a $15 discount on the total bill.

  Linked list based linear search algorithm

Write down an algorithm or the code segment for searching a circular linked list for a given item. Write down a recursive version of the linked list based linear search algorithm.

  What aspects of environment support structure of colleges

What aspects of environment support structure of colleges.

  Developing a monthly budget structure

Write down a program which declares a MonthlyBudget structure with the member variables in order to hold each of these expense categories.

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