Programming is like kicking yourself in the face, sooner or later your nose will bleed ---Kyle Woodbury

Factorial Program in Python

The factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example, 6! = 1 x 2 x 3 x 4 x 5 x 6 = 720. Below is a python program to identify this number.

Convert Source Code to HTML using vim

1. open your source code in vim
        go to Applications >>> Accessories >>> Terminal
        then type vim <codeFileName> then hit Enter
        e.g vim factorial.py
2. convert your code to readable html
       type :runtime! syntax/2html.vim then hit Enter

Fibonacci Number in C using Recursive Function

A recursive function is a function that calls itself during its execution.

Factorial Program in C++

The factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example, 6! = 1 x 2 x 3 x 4 x 5 x 6 = 720.
 

Open Source Note-taking Software - Basket Note Pads

Tagged:  

Basket Note Pads is an open source note-taking software. It is an alternative to Microsoft One Note. Below is a screenshot of my notes.

Basket Note Padd

Fibonacci Sequence - C program

I edit my previous post in fibonacci number to display the sequence up to nth number. I still used array to implement this problem. Future post will be fibonacci sequence using recursive function.

Fibonacci Number - C Program

Fibonacci sequence/series is a sequence of numbers in which each successive number is equal to the sum of the preceding numbers.

The nth fibonacci number is:
fib(n) = fib(n-1) + fib(n-2); where fib(1) = 1 and F(2) = 1,

The first five numbers are 1, 1, 2, 3, 5

Below is a c program that will return the nth fibonacci number.

Remove Navigation Bar in Blogspot

Follow the following simple steps to remove the unwanted navigation bar in your blogspot blog.

Syndicate content