Question

Write an interactive program in C language to manage the working of a Construction Company. Implement and manage the records with suitable data structures using the file handling concepts that keeps track of various projects of the company and their states (proposal, installation, maintenance, yearly contract etc.), the business turnovers of the company, salaries of the employees, present assignments of the employees and details of the clients. The application should be designed user-friendly.

30 Nov 2017
Answer :
Word Count : 914

Creating a complete program for managing a construction company's records, including projects, states, turnovers, employee salaries, assignments, and client details is a significant project that would require multiple files and significant code. I can provide you with a basic structure and some code snippets in C to get you started. You can then expand and customize it according to your specific needs.

Here's a basic outline of the program and code snippets:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

// Define data structures for various records

struct Project {
    int projectID;
    char name[50];
    char state[20];
    // Add other project-related fields
};

struct Employee {
    int empID;
    char name[50];
    float salary;
    // Add other employee-related fields
};

struct Client {
    int clientID;
    char name[50];
    // Add other client-related fields
};

// Function to add a new project
void addProject(FILE *file, struct Project project) {
    // Write the project data to the file
}

// Function to add a new employee
void addEmployee(FILE *file, struct Employee employee) {
    // Write the employee data to the file
}

// Function to add a new client
void addClient(FILE *file, struct Client client) {
    // Write the client data to the file
}

// Function to display project information
void displayProject(struct Project project) {
    // Display project information
}

//

___ ________ _________ ____ _________ ______ _______ ________ ___ _______ ____ _______.
_____ _____ _________ ____ ________ ____ _________.
_______ ___ ___ _____ _______ ___ __________ _____.
__________ ___ _______ ______ ____ ____.
__________ _____ ___ ____ _____.
_________ _______ _____ ____ ___ __________.
____ ________ __________ ______ ______ ____.
____ _____ ________ ______ _______ ____ _________.
_____ __________ _____ _____ ______ __________.
_______ ____ _______ ____ ______ _________ __________ _________ _______ ________ ________ ____.
_____ _____ ________ _______ __________ ________ __________ ____ ____ __________.
____ ________ _________ __________ ________ _______.
_______ ________ __________ ________ ______ ________ ________ ________ _______ _______ _________ _______.
______ _________ _____ ____ ______ ____ _____ _______ _______ _________ ______.
____ __________ ____ ______ _________ _______ _______ _________ ___ __________.
____ _________ ______ ____ _____.
_______ _________ ___ _____ _____ _____.
_______ ___ ____ _____ ______ __________ _____.
______ __________ _________ ______ __________ ___ ____ ___.
__________ ______ _________ _______ ________ _____ _______ ________ __________ ________.
______ ________ ____ ________ ________ _______ _____ ________ _____ _________.
_______ ________ __________ ___ ________ __________ _______.
___ ____ ____ ___ ________ ______ ________ ________ ____ ___ __________.
________ ______ _______ ______ _____ _________ ____ ___ ____ __________ ____ ____.
___ ______ ____ ______ _______.
________ _____ _________ ___ ____ ______ ___ _______.
_________ ______ ___ ___ ____ _________ _____ _________.
______ _______ __________ ____ __________ _________ ______ _____ _________ ____.
____ _______ _________ ______ ______ ________ ______ ____.
__________ ___ ____ ________ ________ _________ ______ ___ ___ _______ ________ _________.
_____ ____ ________ _____ _____.
__________ _____ ________ ______ ____ _________ ______ _________ ____ ____ __________ _______.
_____ ________ _____ ________ ________ _____ _______ _____ ________ ________ ___ ____.
________ _______ ___ _______ ________ _______ __________ ______ _______ ___ _________.
______ _______ _____ ________ ____.
_________ __________ _____ ___ ______.
___ ____ _____ _________ ________ ____ __________ __________.
____ __________ ______ _____ _______ _____ _______ ______ _____ _________.
_______ _______ ___ ________ ______ _________ _______.
_____ _________ __________ _________ _________ _______ ________ ________ ______ ________ ___ ______.
_______ _____ _______ ______ _________ ____ ______ _______.
__________ _____ ________ _____ ______ __________ _______ ____ ____ _________ ____.
______ ________ ____ ____ _____ ________ _________ _____ ___ _______ _____.
__________ _________ __________ __________ ___ _________ ____.
_________ _____ __________ _________ _____.
___ ______ __________ _________ _________ __________ ___ ______ _____ ______ _________.
__________ ____ ________ ______ ______ _________ ___ _____.
_____ ________ _____ ___ ____ ______ _________.
_________ _______ ______ ______ ____ ____ _____ __________ _____.
_________ ______ _______ ________ ______ ___ ____ ____ ____.
____ __________ ____ _______ ____ ____ ________ _____ _____.
________ _________ ______ ___ ___ _________ __________ ________ ______.
____ __________ _________ _________ ________ _________ ________ __________ _______ ________ _____ _______.
_______ ___ _____ _______ ________ _________ ________ ______ _________ _______.
_______ ________ ________ _____ _________ __________ __________ _____ ______ ____ ____ ________.
______ _____ ________ __________ _________ _________.
_____ ____ ____ _____ ____ __________ __________ ___ _________ _____ ____.
___ __________ ______ ____ ______ _________ ________ ______ ___ ______.
_______ _________ ____ _____ ______ __________ _________ __________ _________ ____ __________ ___.
_________ ___ _________ ____ _________ _____ _____ ___ __________ _______ _________.
______ __________ ________ ________ _______ _________ _________ __________ _________.
________ ______ ____ ___ ________ __________ _______.
____ _________ _____ ________ _____.
________ ____ __________ ________ ____ _____ ________.
______ _________ _____ ________ ______ ____ _________ ________ _______ _________ ______.
__________ __________ __________ ___ _______ _______ _____ _______ __________ ________ ______ _______.
_________ _________ ____ ____ _____ _______ ______ ________ _______ ______ ________.
______ ____ ________ _____ ________.
__________ _______ ______ _____ ___ _________ _____.
_________ ______ __________ _______ __________ _________ _______ __________ _______.
___ ____ _____ ____ ___ ____ _____ ___ ________ ________.
_______ ______ _________ _______ _____ ________ ____ ___.
____ ________ _______ _________ ________.
_____ ________ _____ __________ __________ _____ ____ __________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCSL 17 2010 - Write an interactive program in C language to manage the working of a | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→