Author name: Tutor Network Team

If/Else Statements

There are cases where we need to execute a block of statements only when a particular condition is met. This is called decision making, since we are executing a certain code after making a decision in the program logic. To make decisions through code, we use a concept called if and else statements Syntax They …

If/Else Statements Read More »

Object Oriented Programming in C++

Introduction What is Object Oriented Programming(OOP)?Object-oriented programming is a programming paradigm that organizes code around data(objects), rather than functions and logic. An object can be defined as a data field that has unique attributes and behavior.For example, let’s take an object and call it Car: This Car instance can have many attributes: In this case, …

Object Oriented Programming in C++ Read More »

Scroll to Top