Category Archives: Programming

webbrowser

Visual Basic .NET – Simple Web Browser

Learn how to create a simple web browser using Microsoft Visual Basic Express Edition 2010

C Programming Tutorial 6 – Assignment Operator

C programming assignment operator is one of those that is used frequently. This is just another crucial thing to learn.

C Programming Tutorial 5 – More on C Variables Part 2

Programming with C language or any other programming language means constant changes to values that are stored in variables. This is the continuation of the previous lesson about Variables. You can see the previous part here.
Figure 2.0 - variable names

C Programming Tutorial 5 – More on C Variables

Variables are crucial to programming. We need to learn what and how to use them. In this tutorial we will learn all the basics of using c variables.
Flow chart of Ranging of numbers

C Programming Examples – Range of Numbers

Problem: Create a program that will ask a user to enter a starting number and ending number and then print all the numbers between the ranges. If the starting number is greater than the ending number, print the numbers in descending orders.

Example Output 1 Enter the starting number: 5 Enter the ending number: 10 5 6 7 8 9 10

Determine equality of 2 numbers

C Programming Examples – Comparing 2 numbers – Simple If Else if Else problem

Problem: Create a program that will ask a user to enter 2 numbers. Determine if the first number is greater than, less than, or equal to the second number.

Example Output 1 Enter 1st num: 2.5 Enter 2nd num: 2.4 The 1st number is greater than 2nd number.

Figure 1 The scanf in action

C Programming Tutorial 4 – Accepting Input

In the previous lessons we have learned what are variables, how to assign values to variables, etc. In the program we created in lesson 3, we calculated for the area for a rectangle by assigning a default value to width and height. This is not a very useful program for users because they cannot enter any value. The program would be very much more useful if it would allow then to input dimensions.
Getting Modulus

C Programming Tutorial 3 – Arithmetic Operators

Just like any other programming languages, C/C#/C++ supports a full range of arithmetic operators that gives you the ability to manipulate numeric values used in a program. These operators works just like as they work in algebra.
figure1

C Programming Examples – Fibonacci Series Using Loop Statement

Problem: Create a program that displays the Fibonacci sequence of a user input. More about Fibonacci here.

Sample Output: Enter a Number: 7 Fibonacci Series: 1 1 2 3 5 8 13