Skip to content

EasyExamNotes.com

  • Home
  • Tutorial
  • Interview Q&A
  • Video Lectures
  • PYQs
  • MCQ
Menu

EasyExamNotes.com

  • Home
  • Tutorial
  • Interview Q&A
  • Video Lectures
  • PYQs
  • MCQ
Menu

C program to find

C program to find nth term using Arithmetic progrssion

December 3, 2023October 23, 2021 by Team EasyExamNotes

In C programming language, the nth term of an arithmetic progression can be calculated using the following formula: an = a1 + (n-1)d where an … Read more

C program to find sum of first n even positive numbers

December 3, 2023October 14, 2021 by Team EasyExamNotes

The sum of the first n even positive numbers can be calculated using the following formula: sum = n * (n + 1) Here is … Read more

C program to find nth odd number

December 3, 2023October 13, 2021 by Team EasyExamNotes

C program to find nth odd number. Take a number as input. Sol. Input  =  5 Output = 9 //nth odd positive number = 2*n-1 … Read more

C program to find sum of first n odd positive numbers

December 3, 2023October 13, 2021 by Team EasyExamNotes

The sum of the first n odd positive numbers can be calculated using the following formula: sum = n^2 Here is an example program to … Read more

© 2024 EasyExamNotes.com | Some content on this site was generated with the assistance of Google's Gemini AI and ChatGPT.