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-641f8a65cf9b0992973172/] It uses if......else to test the accuracy. The power series contains the recurrence relationship of the type [crayon-641f8a65cf9b7372315947/] 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-641f8a65cf9ba886402066/] C Program for Exponent Series : [crayon-641f8a65cf9bd362921481/] Output : [crayon-641f8a65cf9c0259242321/]
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-641f8a65cfd22645295659/] Output: [crayon-641f8a65cfd29807665260/]
An electric power distribution company charges its domestic consumers as follows [crayon-641f8a65d000c460402013/] Write a C program that reads the customer number and power consumed and prints the amount to be paid by the customer. [crayon-641f8a65d0012559967773/] Output : [crayon-641f8a65d0016811153094/]
C Program to find greatest in 3 numbers [crayon-641f8a65d02fc013239231/] Output : [crayon-641f8a65d0303893541397/]
C Program to calculate gross salary of a person. [crayon-641f8a65d05c5593146149/] Output : [crayon-641f8a65d05cb148722031/]
[crayon-641f8a65d088a438029808/] Output : [crayon-641f8a65d0890928333640/]
C Program to calculate sum of 5 subjects and find percentage [crayon-641f8a65d0d78477783350/] Output : [crayon-641f8a65d0d7e937812834/]
Program to convert temperature from degree centigrade to Fahrenheit [crayon-641f8a65d1297586571749/] Output : [crayon-641f8a65d129e333304901/]
C Program to find the simple interest [crayon-641f8a65d1548357129255/] Output : [crayon-641f8a65d154f081761302/]
C Program to find area and circumference of circle [crayon-641f8a65d1a2e492529735/] Output : [crayon-641f8a65d1a35742919904/] 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-641f8a65d1a38794173177/] and [crayon-641f8a65d1a3c931243890/] 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-641f8a65d1a3f992000205/] 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-641f8a65d1f7c928175655/] Output : [crayon-641f8a65d1f82642901453/]
Program : To obtain solution of second order quadratic equation [crayon-641f8a65d245f851838415/] Output : [crayon-641f8a65d2466754397901/]
[crayon-641f8a65d272f456614070/] Recursive Function : [ Click Here ]
Simple C Program to find the factorial of the number.
C Program to print table of n and n^2.