Browsing tag

C language

C Program to Addition Subtraction,Multiplication and division

C Program to Addition Subtraction, Multiplication and division In this tutorial, we will discuss C Program to Addition Subtraction, Multiplication and division In this post, we will learn about how to perform addition, subtraction multiplication, division of any two numbers  using if else statements in C programming The  program will request the user to enter…

switch case statement in C language

switch case statement in C language Switch case statements In this tutorial, we will discuss switch case statement in C language The switch statement in C, select one option from multiple options of cases based on a switch expression. Switch case statements similar to if else if … else ladder but it is not same as…

input output function in the C language

input output function in the C language In this tutorial, we will discuss input output function in the C  language. printf() scanf() function in C programming language The C programming language provides various built-in functions(in-built library function ) for several purposes as a mathematical calculation, string manipulation and input-output operation and many more. input-output function…

C program gets() and puts() function

C program gets() and puts() function In this tutorial, we will discuss a simple concept of the C program gets() and put() function Both the functions are used to in the input and output operation of the Strings The gets() functions are used to read string input from the keyboard and puts() function displays it….

Hollow Triangle Pattern using nested while loop in C

Hollow Triangle Pattern using nested while loop in C In this tutorial, we will discuss a concept of Hollow Triangle Pattern using nested while loop in C In this program, we are going to learn about how to display  Hollow Tringle star pattern using nested while loop in C programming  language Here, we display some…

Hollow Pyramid Pattern in C using nested while

Hollow Pyramid Pattern in C using nested while In this tutorial, we will discuss Hollow Pyramid Pattern using nested while loop in C programming language In this program, we are going to learn about how to display  Hollow Pyramid Pattern using nested while loop in C programming  language Here, we display two Hollow pyramid Pattern…

C program to find factorial using function

C program to find factorial using function In this tutorial, we will discuss the concept of C program to find factorial using function Factorial is a product of all positive descending integer begins with a specified number (n) and calculates up to one   Example factorial of 5 is 5!=5*4*3*2*1=120   factorial of 4 is…

Alphabet Pyramid pattern in C using while loop

Alphabet Pyramid pattern in C using while loop In this tutorial, we will discuss the Alphabet Pyramid pattern in C using while loop Alphabet Pyramid pattern in C using the while loop In this program, we are going to learn about how to display  Alphabet pyramid pattern  using while loop  in C programming language Here,…

Data type in C programming language

Data type in C programming language In this tutorial, we will discuss Data type in C programming language In this topic, we will learn about data type and how to use  in the C programming language. Typically, data types is an important concept in a programming language such as Java, C++, Python…… It is essential…

C language type of variables with example

C language type of variables with example In this tutorial, we are going to discuss the concept of ” C language type of variables with example.” Variable is a fundamental concept in programming languages to store data in the memory location. We should clearly understand it before learning the program. Variables are used to indicate…