📚 Introduction to Programming course assignments at SCE College of Engineering
Language: C++ | Topics: I/O, Loops, Functions, Arrays, Pointers, Recursion
This repository contains all programming assignments completed during the Introduction to Programming course at SCE College of Engineering.
├── HW1_Basics/
│ └── main.cpp
├── HW2_Chat_System/
│ └── main.cpp
├── HW3_Battleship/
│ ├── part1_arrays.cpp
│ ├── part2_strings.cpp
│ └── part3_battleship.cpp
├── HW4_Dictionary/
│ └── main.cpp
└── HW5_Recursion/
└── main.cpp
Topics: Input/Output, Operators, Conditional Statements, Switch-Case
| Section | Description |
|---|---|
| Case Change | Converts characters between uppercase and lowercase |
| Digit Search | Counts occurrences of a digit in a 4-digit number |
| Failed Check | Calculates average of passing grades (≥56) |
| Arithmetic Progression | Checks if 5 numbers form an arithmetic sequence |
| Palindrome | Determines if a 5-digit number is a palindrome |
Topics: Loops, Nested Loops, Functions, Input Validation
Project: SCE Internet Company Chat System 💬
| Feature | Description |
|---|---|
| 🆕 New Client Registration | Validates name, age, email, and credit card |
| 👤 Existing Client Services | Monthly billing, company info, support requests |
| 🚪 Leave Company | Request to leave with follow-up scheduling |
| 🎨 Company Logo | Dynamic ASCII art "S" logo with customizable size |
Topics: Arrays, Strings, 2D Arrays, Game Logic
Function equal() - Compares two arrays and returns count of matching indices.
Function words() - Finds and prints all words of a specific length.
Complete implementation of the classic Battleship game with random ship placement, attack system, and win detection.
Topics: Pointers, Dynamic Memory, Recursion, Sorting
Project: English Dictionary 📖
| Feature | Description |
|---|---|
| 📥 Data Input | Words and definitions |
| ✏️ Auto-Correction | Capitalizes first letters |
| 🔤 Sorting | Lexicographic sorting (recursive) |
| 🔍 Binary Search | Efficient recursive word lookup |
Topics: Recursion, File Handling, String Processing
| Function | Description |
|---|---|
balance_parenthesis |
Checks if parentheses in file are balanced |
num_of_neg |
Counts negative numbers in array |
num_of_odd_digits |
Counts odd digits in a number |
equal_strings |
Case-insensitive string comparison |
differentials |
Prints differences between consecutive elements |
Academic coursework at SCE College of Engineering.