Skip to content

CodeAndCourse

CodeAndCourse
  • Tutorial
  • Programming
    • C
    • C++

recursive function

WAP to check whether the given number is a prime number or not

March 31, 2022April 30, 2021

Write a program to check whether the given number is a prime number or not using recursive function Output Enter an integer: 5count = 15 …

Read more

WAP to calculate the HCF of two number using recursive function

March 31, 2022April 30, 2021

Write a program to calculate the HCF of two number using recursive function Output HCF: 10

WAP to print the Fibonacci series up to nth term

March 31, 2022April 30, 2021

Write a program to print the Fibonacci series up to nth term using recursive function Output Enter term: 50 1 1 2 3

WAP to calculate the Factorial of a given number

March 31, 2022April 30, 2021

Write a program to calculate the Factorial of a given number using recursive function Output Enter any number: 4Factorial of 4 = 24

WAP to Sum of numbers up to n term

March 31, 2022April 30, 2021

Write a program to Sum of numbers up to nth term Output Enter any number: 5Sum = 15

Post navigation
Older posts
Page1 Page2 Next →

Ads

Ads

  • Privacy Policy
© 2022 Code And Course