C Program to Compute sum of the array elements using pointers !
In this program , base address of the array is stored inside the pointer variable and using pointer the sum of array element is computed.
In this program , base address of the array is stored inside the pointer variable and using pointer the sum of array element is computed.
Program : A program to evaluate the power series [crayon-65121c3510018877562485/] It uses if......else to test the accuracy. The power series contains the recurrence relationship of the type [crayon-65121c351001f899070408/] If Tn-1 (usually known as previous term) is known, then Tn (known as present term) can be easily found by multiplying the previous term by x/n. Then [crayon-65121c3510022586323861/] C Program for Exponent Series : [crayon-65121c3510025771594888/] Output : [crayon-65121c3510029785029177/]
Problem Statement : Write a program to read the values of x, y and z and print the results of the following expressions in one line. (x+y+z) / (x-y-z) (x+y+z) / 3 (x+y) * (x-y) * (y-z) [crayon-65121c3510356269464723/] Output: [crayon-65121c351038f567803664/]
An electric power distribution company charges its domestic consumers as follows [crayon-65121c351066d190167381/] Write a C program that reads the customer number and power consumed and prints the amount to be paid by the customer. [crayon-65121c3510674844127000/] Output : [crayon-65121c3510678542080511/]
C Program to find greatest in 3 numbers [crayon-65121c351095a931921668/] Output : [crayon-65121c3510961994568980/]
C Program to calculate gross salary of a person. [crayon-65121c3510c23497153242/] Output : [crayon-65121c3510c29145997836/]
[crayon-65121c3510ed8759624795/] Output : [crayon-65121c3510edf681071822/]
C Program to calculate sum of 5 subjects and find percentage [crayon-65121c35113c2116175270/] Output : [crayon-65121c35113c9056773690/]
Program to convert temperature from degree centigrade to Fahrenheit [crayon-65121c35118a0766535287/] Output : [crayon-65121c35118a6493922164/]
C Program to find the simple interest [crayon-65121c3511b50856797256/] Output : [crayon-65121c3511b56088138975/]
C Program to find area and circumference of circle [crayon-65121c351201c116992024/] Output : [crayon-65121c3512022604511908/] Explanation of Program : In this program we have to calculate the area and circumference of the circle. We have following 2 formulas for finding circumference and area of circle. [crayon-65121c3512026019244363/] and [crayon-65121c3512029015287484/] In the above program we have declared the floating point variable PI whose value is defaulted to 3.14.We are accepting the radius from user. [crayon-65121c351202c793817084/] Download C Program : [box style="download"]Download Area Of Circle Program | Right Click and Save As[/box]
Program : C Program to find sum of two numbers [crayon-65121c351252e847073923/] Output : [crayon-65121c3512534227082995/]
Program : To obtain solution of second order quadratic equation [crayon-65121c35129da887587751/] Output : [crayon-65121c35129e0866777701/]
[crayon-65121c3512c9b287269509/] Recursive Function : [ Click Here ]
Simple C Program to find the factorial of the number.
C Program to print table of n and n^2.