Write a c program that prompts the user to enter some data

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

Write a C program that prompts the user to enter some data regarding some clients. The user should prompt for client account number (a UNIQUE positive integer between 1 and 1000), a name (a string, up to 25 in length), and the account balance (a positive floating point number) as shown below. The user input terminates once the user enters a -999 as the account number. I will let you decide the appropriate prompts and edit messages.

You should store this information in an array of type struct (something).

Make the array sizes large enough to hold data for up to 25 clients.

Once the user has completed entering the data, the program should then SORT THE DATA IN ASCENDING ORDER BY ACCOUNT NUMBER, OR NAME OR BALANCE, and output the client data in table form of your design or exactly as follows BELOW.

If the user enters -999 as the first account number, the program should simply exit, and display an appropriate message of your choice.

The report will also be directed to an output text file with the same output as printed to the screen.

Reference no: EM131270456

Questions Cloud

Characteristics demanded of an entrepreneur : Are there any similarities between the characteristics demanded of an entrepreneur and those of a professional athlete? Would an athlete be a good prospect for entrepreneurship? Why or why not? Could teamwork be important in an entrepreneurial effort..
Mcdonald major competitors : For each of McDonald’s’s major competitors (Wendy’s, Burger King, Taco Bell and Subway, describe one strength and one weakness relative to McDonald’s. In other words, what is one strength that makes them a strong competitor against McDonald’s, and on..
Program to convert numbers from binary to decimal : Write a program in your favorite language (e.g., C, Java, Perl) to convert numbers from binary to decimal. The user should type in an unsigned binary number. The program should print the decimal equivalent.
Culture and motivation play in the movie snowden : What legal reforms and protections was offered to Snowden? What role did culture and motivation play in the movie snowden?
Write a c program that prompts the user to enter some data : Write a C program that prompts the user to enter some data regarding some clients. The user should prompt for client account number (a UNIQUE positive integer between 1 and 1000).
Keynesians and monetarists concerning level of government : (Part A) Evaluate the fundamental arguments between Keynesians and Monetarists concerning the level of government involvement in our economy to minimize the impact and stabilize the different stages of the business cycle.
Market demand for monopolist product : In this question we will use the above data to compare a single price monopolist to the same monopolist that is regulated either with average cost regulation or marginal cost regulation. At the end of the question you will fill out a table to comp..
Battle for market share in the automobile industry : The following quotation appeared in a Wall Street Journal article on the battle for market share in the automobile industry in 2000: "The huge fixed costs involved in developing new vehicles and running big auto factories means auto makers feel co..
Complete a truth table for the three-input majority gate : A majority gate produces a TRUE output if and only if more than half of its inputs are TRUE. Complete a truth table for the three-input majority gate shown in Figure 1.41.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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