Computer Programming – Functions
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide…
Browse our articles in publication order, with new stories added automatically.
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide…
During our discussion about characters, we learnt that character data type deals with a single character and you can assign any…
Consider a situation where we need to store five integer numbers. If we use programming’s simple variable and data type…
If it was easy to work with numbers in computer programming, it would be even easier to work with characters.…
Every programming language provides support for manipulating different types of numbers such as simple whole integers and floating point numbers.…
Let’s consider a situation when you want to print Hello, World! five times. Here is a simple C program to do the…
Decision making is critical to computer programming. There will be many situations when you will be given two or more…
An operator in a programming language is a symbol that tells the compiler or interpreter to perform specific mathematical, relational…
So far, we have covered two important concepts called variables and their data types. We discussed how to use int, long, and float to…
Variables are the names you give to computer memory locations which are used to store values in a computer program.…
Let’s discuss about a very simple but very important concept available in almost all the programming languages which is called data…
Let’s start with a little coding, which will really make you a computer programmer. We are going to write a…