Write a C program to find 1+1/2+1/3+1/4+....+1/n

Program to sum of series 1+1/2+1/3+1/4+....+1/nIn this program, if inverse of a sequence follow rule A.P i.e , Arithmetic progression, then it is said to be in harmonic progression...
August 18, 2021

Write a program to evaluate the series 1^2+2^2+2+3^2+……+n^2

Program to evaluate the series 1^2+2^2+2+3^2+……+n^2Here is source code of the C Program to Find the Sum of Series 1^2 + 2^2 + …. + n^2. The C program...
August 17, 2021

Write a program to check whether the given number is prime or not

C Program to check whether a number is prime or notIn this example, you will learn to check whether an integer entered by the user is a prime...
August 16, 2021

Read five persons height and weight and count the number of person having height greater than 170 and weight less than 50

Program to read five person height and weight:Program to read five persons height and count the number of person having height greater than 170 and weight less than...
August 15, 2021

Write a program to calculate average and total of 5 students for 3 subjects

Write a program to calculate average and total of 5 students for 3 subjects (use nested for loops)This program helps the user to enter five different values for...
August 14, 2021

Write a C program to find the sum and average of different numbers

Write a C program to find the sum and average of different numbers which are accepted by user as many as user wantsIn this program sum and average...
August 14, 2021

Write a C program to find out sum of first and last digit of a given number

Write a C program to find product of digits of a number using while loop.Write a C program in C to multiply the digits of a number.In this...
August 13, 2021