Blog

python tutorials and learn python

Created with Sketch.

C Program to Calculate Average Using Arrays

C Program to Calculate Average Using Arrays This program takes n number of elements from the user (where n is specified by the user), stores data in an array, and calculates the average of those numbers. Source Code to Calculate Average Using Arrays

C program to calculate the power using recursion

C program to calculate the power using recursion This program calculates the power of a number using recursion. Example: Program to calculate the power using recursion

C program to Reverse a Sentence Using Recursion

C program to Reverse a Sentence Using Recursion This program takes a sentence from the user and reverses that sentence using recursion. This program does not use string to reverse the sentence or store the sentence. Example: Reverse a sentence using recursion

C Program to Convert Binary Number to Octal and vice-versa

C Program to Convert Binary Numbers to Octal and vice-versa In this example, you will learn to convert binary numbers to octal and octal numbers to binary manually by creating a user-defined function. Example 1: Program to Convert Binary to Octal In this program, we will first convert binary numbers to decimals. Then, the decimal number…
Read more