C program to find nth term using Arithmetic progrssion
In C programming language, the nth term of an arithmetic progression can be calculated using the following formula: an = a1 +…
Read more →In C programming language, the nth term of an arithmetic progression can be calculated using the following formula: an = a1 +…
Read more →The sum of the first n even positive numbers can be calculated using the following formula: sum = n * (n +…
Read more →C program to find nth odd number. Take a number as input.Sol.Input = 5Output = 9 //nth odd positive number = 2*n-1First…
Read more →The sum of the first n odd positive numbers can be calculated using the following formula: sum = n^2 Here is an…
Read more →Ask a study question in English or Hindi. I will find relevant passages from our notes.