AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Mathematics-question / Level: Beginner
1. Write a program to find the sum of two numbers.
2. Write a program to calculate the difference between two numbers.
3. Write a program to multiply two numbers.
4. Write a program to divide two numbers and handle division by zero.
5. Write a program to find the maximum of three numbers.
6. Write a program to check if a number is even or odd.
7. Write a program to calculate the factorial of a given number.
8. Write a program to generate the Fibonacci series up to a given number.
9. Write a program to check if a number is prime.
10. Write a program to find the greatest common divisor (GCD) of two numbers.
11. Write a program to find the least common multiple (LCM) of two numbers.
12. Write a program to reverse a given integer.
13. Write a program to check if a number is a palindrome.
14. Write a program to find the sum of digits of a number.
15. Write a program to count the number of digits in a number.
16. Write a program to convert a decimal number to binary.
17. Write a program to convert a binary number to decimal.
18. Write a program to find the square of a number.
19. Write a program to find the cube of a number.
20. Write a program to find the power of a number using recursion.
21. Write a program to calculate the area of a rectangle.
22. Write a program to calculate the area of a triangle.
23. Write a program to calculate the area of a circle.
24. Write a program to find the circumference of a circle.
25. Write a program to find the perimeter of a rectangle.
26. Write a program to find the perimeter of a triangle.
27. Write a program to calculate the simple interest.
28. Write a program to calculate the compound interest.
29. Write a program to determine the square root of a number.
30. Write a program to calculate the absolute value of a number.
Previous
1
2
3
4
5
6
7
Next
More Levels
Intermediate
Advanced
Most Visited
Write a program to calculate the length of the longest repeating subsequence.
Write a program to calculate the sum of all numbers in an array that are greater than a given number.
Write a program to find the maximum and minimum of an array of numbers.
Write a program to find the union of two arrays.
Write a program to calculate the product of an array.
Write a program to find the number of ways to arrange n items.
Write a program to calculate the product of digits of a number.
Write a program to find the GCD of two matrices.
Write a program to calculate the number of unique paths in a grid with obstacles.
Write a program to determine if a number is a strong number.
Write a program to implement the LRU (Least Recently Used) caching mechanism.
Write a program to find the median of two sorted arrays.
Write a program to calculate the n-th term of the Fibonacci sequence using memoization.
Write a program to find the number of unique paths in a grid using dynamic programming.
Write a program to perform matrix multiplication.