by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to sort the record of multiple students merit wise. In this program structure type variable declared and a temp variable for temporary value storing. User need to establish the merit chart for sorting them. For this process user will use loop statement where user will calculate the data of students that are define on variable value. Loop statement will print all the data about student (roll no,score,name etc.). From the structure type variable.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is C Program to calculate the sum of the elements of each row & column. A matrix is made of rows and columns. The program will add all the rows and the columns of the matrix.

 
by Dinesh Thakur Category: C Programming (Pratical)

 A structureincludes manyvariablesinto one.Works asa Report cardthat hasname, marks and total.Therecordwould bea structure.The structurethenis used to groupa set ofsimilar datanotforming anew data type.



 
by Dinesh Thakur Category: C Programming (Pratical)

 In this program user ask to compute Sine (trigonometric function) Series. The Variable of float or integer type declared that will be use to contain the value. User asks to enter the value and then the computation of PI function described. Here term variable used for temporary value container as in the program this variable contain the x1 and then swapped for Sine. For loop statement also been used for varying the condition. Then using compatible condition the output is displayed.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is the C program for converting a character into ASCII value.

 
by Dinesh Thakur Category: C Programming (Pratical)

This program segment calculates the sum of integer numbers from 1 to n. Initially, the value of n is read from the keyboard and variable sum is initialized to zero. Then a for loop is set up in which the loop variable j assumes values from 1 to n. For each value of j, the assignment statement included in the for loop is executed and the value of j is added to the previous value of sum.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is C Program to Sum of Two Matrix. In this program user asks to add two matrixes. The array type variables are declared for containing the value. Here loop statement comes in use for laying the condition true nested for loop used for print the matrix in it. Then after the condition as follows the loop statement value is been entered for 2x2 matrix to print. Then another for loop to add the both matrix on it. And display the result on screen.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is C Program Find the Factorial of N Number. This program is for finding the factorial of N number. Two integer type variables declared with static value one of them. Here to user enter the value for finding the factorial. Then loop statement for stepping forward to find the result and (f*I) and at last to print the output on the display.

 
by Dinesh Thakur Category: C Programming (Pratical)

Consider the program given below, written using the top-down approach, that calculates the factorial of a given integer number using function fact defined in Example. Function fact is called in the main function from a printf function call and the int value returned by it is printed using the %d conversion specification.

 
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Search Content