Python1 Min Read LetuscrackonJanuary 31, 2025 Square Matrix – Odd Integers The program must accept N integers and print a square matrix of size K*K with the odd integers present. In case there are…
C Python2 Min Read LetuscrackonJanuary 12, 2025 Four Strings Square Four Strings Square: Four strings all having the same length L are passed as the input to the program. The four strings must be printed in a…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Difference Between Square of Largest and Smallest Digit The program must accept an integer N as the input. The task is to find the largest and smallest digit in the number and then print the…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Determine if Number is a Perfect Square The program must accept an integer N as the input. The program should determine if the given number is a perfect square. If the number is a…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Add Square of Each Digit to the Number Given a number as the input, compute the new number by adding the square of each of its digits to the original number. If the input is not a…
Python1 Min Read LetuscrackonJune 11, 2024 Rectangle or Square Vignesh is very much interested in Geometry and he was reading about Rectangles and Squares. He wanted a program which will print Rectangle or…
Python1 Min Read LetuscrackonJune 11, 2024 Square – Top Right Co-ordinates The bottom left point co-ordinates of a square are passed as input. The length of the side of the square is also passed as the input. The…
C1 Min Read LetuscrackonJune 11, 2024 Pattern – ZigZag Number Square Given an integer N as the input, print the pattern as given in the Example Input/Output section. Input Format: The first line contains N.…
C1 Min Read LetuscrackonJune 11, 2024 Traverse Square Matrix – Spiral Clockwise A square matrix of size N*N is provided. The program must traverse the matrix spirally and print the elements in a single line. Input…
C1 Min Read LetuscrackonJune 11, 2024 Max Same Letter Square Size Certain kids were playing a game in which they would draw a N*N matrix and would fill in a letter from A to Z in a given cell based on certain…