Create a flowchart of the program

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

The Unit 4 Topic 2 Presentation contains pseudo-code for a program which processes a client file (the master file) and a service file (the transaction file) by updating the clientTotal field in the client file according to the serviceTotal field in the service file.

Create a flowchart of the program, using the pseudo-code from Unit 4 Topic 2 as a guide. For your convinence you can access this pseudo-code by selecting the following

Here is the code needed to complete IP4 assignment.

start
perform initialTasks( )
while endOfFiles = false
perform mainModule( )
endwhile

perform terminate( )
stop

initialTasks( )
declare variables
clientRecord
num clientID
char clientName
char clientAddress
char clientPhone
num clientTotal
serviceRecord
num serviceID
char serviceDate
char serviceType
num serviceTotal
boolean endOfFiles = false
open files
sort serviceFile on serviceID
giving transFIle
close serviceFile
open transFile
print prtHeader
perform readClient( )
perform readService( )
if clientID = 999
if serviceID = 999
endOfFiles = true
endif
endif
return

readService()
read serviceRecord
if EOF
serviceID=999
endif
return

readClient()
read clientRecord
if EOF
clientID=999
endif
return

mainModule( )
if clientID = serviceID
clientTotal = clientTotal + serviceTotal
perform readService( )
else
if serviceID > clientID
write clientRecord
print clientRecord
perform readClient( )
else
print error message
perform readService( )
endif
endif
if clientID = 999
if serviceID = 999
endOfFiles = true
endif
endif
return

terminate( )
close files
return

Reference no: EM13945576

Questions Cloud

Equipment for without having to recognize : the maximum selling price that Lorenzo could sell the equipment for without having to recognize any Section 1245 ordinary income
Academic comparison and contrast essay : Refer to Ch. 1 & 2 of Wordsmith for prewriting and writing process strategies and to Ch. 10 of Wordsmith for examples of writing using comparison and contrast.
Exit velocity and mass flow rate of hydrogen : A large rocket engine delivers hydrogen at 1500°C and 3 MPa to a nozzle with an exit pressure equal to the ambient pressure of 54 kPa. If the thrust of the rocket is 2 MN what is the exit velocity and mass flow rate of hydrogen? (use k = 1.41 and ..
What each category mentioned above reveal about a company : Discuss what each category mentioned above, reveal about a company being analyzed. Give examples of ratios that are affected by inventory
Create a flowchart of the program : Create a flowchart of the program, using the pseudo-code from Unit 4 Topic 2 as a guide.
What would you estimate the scrap rate : What would you estimate the scrap rate to be using a 6-month moving average?
How do i created the pseudocode : Using the UML diagram and variable list , create Pseudocode for the program.
State intelligently whether you think : what musical "concept" is illustrated by the selection (e.g. musical idea, ensemble, solo performer, variation, etc.), and state intelligently whether you think the selection was effective in doing so
Governing equations of motion for a two degree : The purpose of this project is to derive the governing equations of motion for a two degree of freedom (planar) gantry-type robot that is commonly called an H-Bot (Fig. 1).

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