## Posts in category C Programming

# C Program to Print SUM of Square

This program uses one dimensional array x to read the values and compute the sum of their squares.[Ansi C Program 7.1]
Total = 10 i=1 ∑X2
The values of x1,x2 …… are read from the terminal.
Program :
#include<stdio.h>
int main()
{
int i ;
float x[10],value,total;
/* Reading values into array */
printf [...]

# Print FIBONACCI SERIES using C Langua...

How to Print Fibonacci series in c program first you have to know what is Fibonacci series? To Print a Fibonacci series you have to clear your logic.Lets begin,
What is Fibonacci series?
First two numbers of the fibonacci series is 0 and 1. From 3rd number onwards, the series will be the sum of previous 2 numbers.
Fibonacci series : 0, 1, 1, [...]

# Print FACTORIAL using C Language | C ...

Factorial of a number (n!):How to Print a FACTORIAL in c program first you have to know what is a FACTORIAL? To Print a FACTORIAL you have to clear your logic.Lets begin,
What is factorial of a number?
Factorial is denoted by the symbol ‘!’. For example, factorial of a number 10 is denoted as 10!. Factorial of a number is defined as [...]

# Print a prime number? using C languag...

To Print a prime number first you have to know what is a prime number? To Print a prime number you have to clear your logic.Lets begin,
What is a prime number?
A number is considered as prime number when it satisfies the below conditions.
It should be whole number
It should be greated than 1
It should have only 2 factors. They are, 1 an [...]

# How to print rectangle star pattern u...

Do you want to print rectangle star pattern ? Then this post is for you.Follow the instruction to print rectangle star pattern using C Language.
********************
********************
********************
********************
********************
Step by step descriptive logic to print rectangle star pattern.
Input number of rows an [...]

# C program to Print square star patter...

Today we will learn how to write a C program to print square star(*) pattern series of N rows. Logic to print square star pattern of N rows in C programming.And required knowledge for writing this program.
Must Learn : C Basics , For loop, Nested loop
Example
Input
Input number of rows: 2
Output
**
**
Logic to print square [...]