Browsing tag

C language

C program to calculate electricity bill

C program to calculate electricity bill In this tutorial, we will discuss C program to calculate electricity bill In this post, we will learn how to calculate electricity bill using if condition in the C programming language We can calculate monthly electric power usage in many ways. In this tutorial, we display two programs calculating…

C program to find largest and second largest elements in array

C program to find largest and second largest elements in array In this tutorial, we will discuss the  concept of C program to find largest and second largest elements in Array. In this topic, we will learn how to find the largest and second largest elements of array elements in C programming language This program…

C program to find middle among three numbers

C program to find middle among three numbers In this tutorial, we will discuss the C program to find middle among three numbers. This post describes how to find the middle number among three numbers using if statements and & operator in C language. There are many ways to find the middle number of the…

C Program to largest and smallest among three numbers

C Program to smallest and largest among three numbers In this tutorial, we discuss C Program to the smallest and largest among three numbers In this program, we will discuss a simple concept of the program to find the smallest and largest among three numbers in the C programming language. In this topic, we learn…

C Program to display smallest among three numbers

C Program to display smallest  among three numbers In this tutorial, we discuss C Program to display smallest  among three numbers In this program, we will discuss a simple concept of the program to find the smallest number among three numbers in the C programming language. In this topic, we learn how to find the…

C program to add two numbers using function

C program to add two numbers using the function In this tutorial, we will learn C program to add two numbers using the function In this topic, we will learn a simple concept of how to add two number using the function in C programming language already we know the same concept using the operator…

C program to reverse triangle number patterns using while loop

C program to reverse triangle number patterns using while loop In this tutorial, we will discuss the concept of C program to reverse triangle number patterns using while loop In C language, we can use for loop, while loop, do-while loop to display various number, star, alphabet and binary number patterns In this topic, we demonstrate…

Reverse order number pattern in C using for loop

Reverse order number pattern in C using for loop In this tutorial, we will discuss a concept of Reverse order number pattern in C using for loop In C language, we can use for loop, while loop, do-while loop to display various number, star, alphabet and binary number patterns In this topic, we demonstrate how…

C program to display patterns using do while loop

C program to display patterns using do while loop In this tutorial, we will discuss the concept of C program to display patterns using do while loop. In C language, we can use for loop, while loop, do-while loop to display various number, star, alphabet and binary number patterns In this topic, we demonstrate how…

triangle number pattern using nested while in C

triangle number pattern Using nested while in C In this tutorial ,we will learn about triangle Number pattern using nested while in C. We can use nested while loop in C to write coding for Squares, rectangles, Floyed triangle ,Pyramid triangles and many other shapes. In this tutorial, we will learn about Floyd’s triangle shapes…