Write a program using above data file

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

Input file:

Event                    Task                       Number of Days

1                              15                           3

1                              27                           6

1                              36                           4

2                              15                           5

3                              18                           4

3                              26                           1

4                              15                           2

4                              26                           7

4                              27                           7

5                              16                           4

 

Write a program using above data file (must prompt user for file names- input and output) to read in the critical path information and write reports.  Print reports (3 reports) to an output file as below:

Print a project completion timetable that lists each event number, the maximum number of days for a task within the event, and the total number of days for the project completion.

Print the event number and task number for all tasks requiring more than 5 days. 

Print a report that lists the number of each event and a count of the number of tasks within the event.

** use only one input file and one output file

SAMPLE OUTPUT:

Enter input file name : cri.dat

Enter output file name:  criout.dat

(This is a sample of output file)


Event         Maximum Number Days for a Task
1                6
2                5
3                4
4                7
5                4

Project Duration : 26 days

Tasks requiring more than 5 days 
Event    Task     Days
1            27         6
4            26         7
4            27         7


Event and Number of Tasks
1          3
2          1
3          2
4          3
5          1

Reference no: EM13877181

Questions Cloud

Write the reduced form of the model : Assume G0 = 545 and write the reduced form of the model. Linearly approximate Y by expanding the reduced form around 3390.
The differences between aasb 8 and the old accounting : Write a report on The differences between AASB 8 and the old accounting standards on segment reporting.
Determine professional labor rate and efficiency variances : Determine the professional labor rate and efficiency variances for August 2010. What nonfinancial factors should Phoenix consider in evaluating the effectiveness and efficiency of professional labor?
Why the native operator will not work with classes : Why the native operator will not work with classes unless they have been properly overloaded
Write a program using above data file : Write a program using above data file (must prompt user for file names- input and output) to read in the critical path information and write reports.  Print reports (3 reports) to an output file as below:Print a project completion timetable that list..
Vision statements for ronald reagan ucla medical center : Obtain the mission and vision statements for Ronald Reagan UCLA Medical Center and The John Hopkins Hospital from their websites (see the links in the webliography)
Determine direct materials efficiency usage variance : Determine Direct materials efficiency (usage) variance and Direct materials joint price-quantity variance (defined as: (AP-SP) x (AQ-SQ)).
Determine the equilibrium values of the endogenous variables : Assume a Keynesian model for a closed economy with C = 506 + 0.9177Y - 0.0001355Y 2 I = 35 + 0.15Y If G0 = 545- determine the equilibrium values of the endogenous variables.
Why an expense is not to be recognized in january : For each of the transactions, if an expense is to be recognized in January, indicate the amount. If an expense is not to be recognized in January, indicate why.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create a program that maintains the required book catalog

create a program that maintains the required book catalog for the circulation desk of a library. the book catalog is to

  Write the prototype and header for a function

Write the prototype and header for a function called calculate. The function should have three parameters: an int, a reference to a double, and a long (not necessarily in that order). Only the int parameter should have a default argument, which is..

  Design and implement a dynamic queue

Design and implement a dynamic queue - Allocate and de-allocate memory at runtime and Manipulate links in a dynamic queue

  Write a function named append that accepts three arguments

Write a function named append that accepts three arguments. The first two arguments passed to append are c-strings to be appended (the second c-string is appended to the first). The third argument passed should be the size of the character array ..

  You are to create a text adventure game that uses pointers

you are to create a text adventure game that uses pointers. you have a rich eccentric uncle billy who is soon to be

  Program that translates a letter grade into a number grade

Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or -.

  Show the items by zone or location within the store

There is other information. Some people shop on a budget so they need the price and the sale price. Use an array or vector to hold the list of items. The display should show the items by zone or location within the store. (Display the output by loc..

  Write a function that takes a linked list of items

Using C++ write a function that takes a linked list of items and deletes all repetitions from the list. in your implementation assume that items can be compared for equality.

  Computes a students grade for an assignment

Write a C++ program that computes a student's grade for an assignment as a percentage given the student's score and total points.

  Compute the average of each row

Write a program that prompts the user to enter 15 double numbers from the keyboard and save them into a 3 by 5 array in the main ( ). Then call a user-define function to compute the average of each row and print the original matrix and average of ..

  Boolean variable

Suggest one (1) example of a problematic programming situation or scenario that a Boolean variable could at least partially resolve. Justify your response

  Develop data structures - chord system

Develop data structures which are suitable to hold required information for each peer in a CHORD system. Note that index nodes can hold local information only

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