BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

C++ Program to Check Leap Year using function

Last Updated: September 7, 2017 by Chaitanya Singh | Filed Under: C++ Programs

This program takes the value of year(entered by user) and checks whether the input year is Leap year or not. The steps to check leap… [Read More]

C++ Program to Find the sum of n natural numbers using Recursion

Last Updated: September 7, 2017 by Chaitanya Singh | Filed Under: C++ Programs

The numbers 1, 2, 3,…, n are known as natural numbers. This program takes the value of n (entered by user) and prints the sum… [Read More]

C++ Program to find the sum of n natural numbers

Last Updated: September 7, 2017 by Chaitanya Singh | Filed Under: C++ Programs

Numbers 1, 2, 3, …., n are known as natural numbers. This program takes the value of n and finds the sum of first n… [Read More]

C++ Program to Display the Number Entered by User

Last Updated: September 7, 2017 by Chaitanya Singh | Filed Under: C++ Programs

This program takes the number entered by user using cin statement and prints it using cout statement Example: Program to display the number entered by… [Read More]

C++ Program to find second Largest element in an array

Last Updated: September 5, 2017 by Chaitanya Singh | Filed Under: C++ Programs

This program finds the second largest element in an array. The program asks the user to enter the value of n, which is the number… [Read More]

C++ Program to Find largest element in an array

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: C++ Programs

This program finds the largest element in an array. User is asked to enter the value of n(number of elements in array) then program asks… [Read More]

C++ Program to Find Second Smallest Element in an Array

Last Updated: September 5, 2017 by Chaitanya Singh | Filed Under: C++ Programs

In this program we ask the user to enter the size of array (number of elements). Then user would be asked to enter all the… [Read More]

C++ Program to Find Smallest Element in an Array

Last Updated: September 5, 2017 by Chaitanya Singh | Filed Under: C++ Programs

You are given an integer array and you are asked to find the smallest (minimum) element of the array. This program asks the user to… [Read More]

C++ Program to find the Missing Number

Last Updated: September 4, 2017 by Chaitanya Singh | Filed Under: C++ Programs

We are given a list of numbers in increasing order, but there is a missing number in the list. We will write a program to… [Read More]

Friend Class and Friend Functions in C++

Last Updated: September 12, 2017 by Chaitanya Singh | Filed Under: Learn C++

As we know that a class cannot access the private members of other class. Similarly a class that doesn’t inherit another class cannot access its… [Read More]

  • « Previous Page
  • 1
  • …
  • 84
  • 85
  • 86
  • 87
  • 88
  • …
  • 150
  • Next Page »

Copyright © 2012 – 2026 BeginnersBook . Privacy Policy . Sitemap