C. Language Assignment

✅ Assignment 1: Simple Calculator

Level: Beginner
Task:
Write a C program to implement a calculator that performs:

  • Addition
  • Subtraction
  • Multiplication
  • Division

Take two numbers as input and ask the user which operation to perform.


✅ Assignment 2: Student Result System

Level: Beginner
Task:
Write a C program to:

  • Take marks of 5 subjects from the user
  • Calculate total, percentage
  • Display grade using conditions
    • 90+ → A
    • 75–89 → B
    • 60–74 → C
    • 40–59 → D
    • Below 40 → Fail

✅ Assignment 3: Array Operations

Level: Beginner–Intermediate
Task:
Write a program that:

  • Takes 10 numbers in an array
  • Finds:
    • Maximum
    • Minimum
    • Sum
    • Average
  • Prints all results

✅ Assignment 4: Structure-Based Employee Management

Level: Intermediate
Task:
Create a structure Employee with:

  • Name
  • ID
  • Salary

The program should:

  • Take details of 5 employees
  • Display all employee records
  • Find employee with highest salary

✅ Assignment 5: File Handling – Contact Book

Level: Intermediate
Task:
Create a program using file handling to store contact details:
Fields:

  • Name
  • Phone Number
  • Email

Menu options:

  1. Add new contact
  2. Display all contacts
  3. Search contact by name
  4. Delete contact
  5. Exit

Use .txt file for saving data.

Leave a Comment

Your email address will not be published. Required fields are marked *