C Java Python2 Min Read LetuscrackonJune 12, 2024 Difference Between Highest and Lowest Prime Digits The program must accept an integer N as the input. The task is to find the highest and the lowest prime digits in the number and print the…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Count Digits That Are Both Prime and Even The program must accept an integer N as the input. The task is to count and print the number of digits that are both prime and even in the…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Average of Prime Digits The program must accept an integer N as the input. The task is to calculate the average of all the prime digits present in the number and…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Twisted Prime The program must accept an integer N as the input. The program must print YES if N is a twisted prime number. Else the…
Python1 Min Read LetuscrackonJune 11, 2024 Sum of Prime Numbers Given an integer matrix of size M*N as input, the program must print the sum of prime numbers present in the given matrix. Boundary…
C Java Python TCS CodeVita2 Min Read LetuscrackonJune 10, 2024 Consecutive Prime Sum – TCS CodeVita Some prime numbers can be expressed as a sum of other consecutive prime numbers. For example 5 = 2 + 3, 17 = 2 + 3 + 5 + 7, 41 = 2 + 3 + 5 + 7…