Category Archives: C Language

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: Fibonacci Program in C Programming »

Loading

C Program Using Ternary Operator To Check Even Odd

“C Program Using Ternary Operator To Check Even Odd” This is a C program that uses conditional operator in C programming language to check whether a number is even or odd. Ternary operator is called conditional operator in C programming language. The syntax of ternary operator is as follows: (condition)? true-case-statement : false-case-statement; Example of… Read More: C Program Using Ternary Operator To Check Even Odd »

Loading

Use Switch statement for simple calculator C Program

“Use Switch statement for simple calculator C Program” is a C program used to work as a simple calculator. This simple calculator performs only four basic arithmetic operations addition, subtraction, multiplication and division. This program uses switch statement to check the type of operator and calculates the needed operation. The result is presented to user… Read More: Use Switch statement for simple calculator C Program »

Loading

Check Vowel or Consonant Character C Programming

“Check Vowel or Consonant Character” is a C program to input a character and check whether it is vowel or consonant. This C program uses nested if else statement for condition checking. /* Write a C program to check whether a character is vowel or consonant alphabet */ #include<stdio.h> int main() { char ch; /*… Read More: Check Vowel or Consonant Character C Programming »

Loading

Complete Prime Checker Function

“Complete Prime Checker Function” is a C program using functions in C programming language. Prime checker program will use an isPrime() function to check whether the given number is prime or not. isprime() function will take an integer parameter. It will return 1 or zero. isPrime() function will return 1 if the given number is… Read More: Complete Prime Checker Function »

Loading