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

Programming Examples

try-catch block in C++

December 3, 2023August 22, 2023 by Team EasyExamNotes

In C++, a try-catch block is used to handle exceptions. It helps you manage errors that may occur within a specific section of code. Syntax … Read more

Program to calculate the area of different geometric shapes

December 3, 2023June 13, 2023 by Team EasyExamNotes

Write program to calculate the area of different geometric shapes such as squares, rectangles, circles, and triangles. Program in C Explanation: Program in Java Explanation:

Write a function to find the greatest common divisor of two numbers

December 3, 2023June 10, 2023 by Team EasyExamNotes

Write a function that takes two integers as input and calculates their greatest common divisor. Program in C Explanation: Program in Java Explanation:

Write a function to detect palindromes in strings

December 3, 2023June 10, 2023 by Team EasyExamNotes

Write a function that takes a string as input and determines whether it is a palindrome or not. Program in C Explanation: Program in Java … Read more

Function to calculate the factorial

December 3, 2023June 9, 2023 by Team EasyExamNotes

Write a function that calculates the factorial of a given number N and returns the result. Program in C Explanation: Program in Java Explanation:

Programme to check if number is inside range

December 3, 2023June 8, 2023 by Team EasyExamNotes

Write a program that takes an integer N as input and determines whether it falls within a specific range, such as 1 to 100. Program … Read more

Program to determines equilateral, isosceles, or scalene triangle

December 3, 2023June 8, 2023 by Team EasyExamNotes

Write a program that takes three angles of a triangle as input and determines whether it is an equilateral, isosceles, or scalene triangle. Program in … Read more

Program to determine divisible by both 5 and 7

December 3, 2023June 8, 2023 by Team EasyExamNotes

Write a program that takes an integer N as input and determines whether it is divisible by both 5 and 7. Program in C Explanation: … Read more

Program to determines product is positive or negative

December 3, 2023June 8, 2023 by Team EasyExamNotes

Write a program that takes three numbers as input and determines whether their product is positive or negative. Program in C Explanation: Output: Program in … Read more

Program determines character is a vowel or consonant

December 3, 2023June 8, 2023 by Team EasyExamNotes

Write a program that takes a character as input and determines whether it is a vowel or consonant. Program in C Explanation: Output: Program in … Read more

Older posts
Page1 Page2 Page3 Next →

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