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-60940aadeafdd371286411/] It uses if......else to test the accuracy. The power series contains the recurrence relationship of the type [crayon-60940aadeafe4670773816/] 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-60940aadeafe8057951954/] C Program for Exponent Series : [crayon-60940aadeafeb095226724/] Output : [crayon-60940aadeafee275367931/]
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-60940aadeb403610338489/] Output: [crayon-60940aadeb40b659825931/]
An electric power distribution company charges its domestic consumers as follows [crayon-60940aadeb786668839612/] Write a C program that reads the customer number and power consumed and prints the amount to be paid by the customer. [crayon-60940aadeb78d536941456/] Output : [crayon-60940aadeb791036475024/]
Program : C Program to demonstrates binary expressions using floating-point arithmetic [crayon-60940aadebb70346698277/] Output : [crayon-60940aadebb77028315226/] Floating Pointer Can perform following Operations : Addition Subtraction Division Multiplication Note : Floating Point Data Type Can't Perform Modulus Operation [crayon-60940aadebb7b516238487/] Output : [crayon-60940aadebb7e712995681/]
C Program : C Program to demonstrates binary expressions using integer arithmetic [crayon-60940aadebf4a351030887/] Output : [crayon-60940aadebf51617414825/] Explanation : In order to print "%" symbol inside printf, use "%%". because % symbol has pre-defined meaning inside printf statement.
C Program to calculate sum of 5 subjects and find percentage [crayon-60940aadecd1c524542548/] Output : [crayon-60940aadecd23922810148/]
Program to convert temperature from degree centigrade to Fahrenheit [crayon-60940aaded090379413472/] Output : [crayon-60940aaded098238939812/]
C Program to find area and circumference of circle [crayon-60940aaded790232120578/] Output : [crayon-60940aaded797521160836/] 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-60940aaded79a763640999/] and [crayon-60940aaded79d567120950/] 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-60940aaded7a0860506233/] Download C Program : [box style="download"]Download Area Of Circle Program | Right Click and Save As[/box]