Category Archives: for Loop C Programming

C ++ Program Alphabet Triangle Pattern

C Plus Plus Program Alphabet Triangle Pattern Task: Write down a C++ Program to display Alphabet Triangle Pattern. The user will enter the height of triangle. Then the program will show a right angle triangle of alphabets in Capital letters. How Alphbets Triangle Program Works This program uses nested for loops to display the required… Read More »

 4,469 total views

Reverse Number Code in C

Task: Reverse Number Code in C- Write a C Program to input number and print the number in Reverse. If the user enters a number =123, the program will print its reverse number 321. The Source Code of Reverse Number Program in C // Write a C program to Enter a number at run time… Read More »

 771 total views

C Program to Find Smallest Number in Array

Q: Write a C Program to Find Smallest Number in Array The Basic Logic of Smallest Number in Array Program First of all the user will input any 5 numbers in array. The program assumes that the first number is minimum number min = numArray[0]; This C program uses a for loop to get each… Read More »

 2,448 total views

C Program to Find Largest Number in Array

Q: Write a C Program to Find Largest Number in Array. The Basic Logic Behind Finding Maximum Number in Array First of all the user will input any 5 numbers in array. The program assumes that the first number is maximum number max = numArray[0]; This C program uses a for loop to get each… Read More »

 4,070 total views

Fibonacci Program in C Programming

What is Fibonacci Sequence Explain Fibonacci Series What are Fibonacci Numbers This program with title “Fibonacci Program in C Programming” is based on a special series in mathematics. The Fibonacci sequence is a series of numbers starting from first two numbers 0 and 1 by definition. Then every other number is the sum of  previous… Read More »

 1,242 total views