2019 | 1st semester of Computer Science
This repository contains a collection of programming exercises from the "Introduction to Programming" course, which is part of my engineering degree program. The exercises are intended to develop basic programming skills using the C\C++ programming language.
The repository includes solutions to various exercises, including but not limited to:
- Working with loops, conditions, and basic input/output
- Array manipulations
- Random number generation and simulations
- Algorithms for solving basic computational problems
- String manipulation and validation
- Mathematical computations and logical problem-solving
- Basic Loops and Conditionals - Programs using loops to solve basic problems like finding divisors, generating sequences, etc.
- Arrays and Sorting - Programs that manipulate arrays, including sorting and modifying elements based on conditions.
- Random Number Simulations - Programs that involve random number generation.
- Basic Algorithms - Implementation of algorithms for simple mathematical tasks and problem-solving.
-
Clone the repository to your local machine:
git clone https://github.com/dormej/introduction-to-programming.git
-
Navigate to the repository directory:
cd introduction-to-programming -
Open any
.c\.cppfile in your preferred text editor and compile it using a C\C++ compiler:gcc filename.c -o filename ./filename
gcc filename.cpp -o filename ./filename