what is OOP ?
From Wikipedia: Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.
OOP is abbreviation for Object Oriented Programming.
C is procedure oriented language I.e it is mainly concerned about the procedure(logic applied). where as oops deals with objects. Considering a security system let one of the object be door it's properties (like colour, size )and functions( like open and close) are specified in class. Class is used to define different kinds of objects.
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
Python palindrome challenge.
Number of Ones ( C++ ) question!