C1 Min Read LetuscrackonDecember 22, 2025 Strict Professor – Class Cancellation In a college , a professor is strict and mandates that at least M students out of the total N students must arrive on time to his…
Java2 Min Read LetuscrackonAugust 4, 2025 Define class Palace – Visit Status N persons visit a palace. The name, gender(M-Male or F-Female) and age of the N persons are passed as the input. The…
Python1 Min Read LetuscrackonJuly 3, 2025 Define class Rectangle Define class Rectangle: The program must accept the length, the breadth of N rectangles and an integer X as…
Java1 Min Read LetuscrackonJune 30, 2025 Define class Person Define class Person: The program must accept the details of a person(name & age) based on the query Q as the input.…
Java1 Min Read LetuscrackonJune 28, 2025 Define Class Student Define Class Student: The program must accept the name and the marks of N students as the input. Each student gets extra marks (0 to 10) based…
Java2 Min Read LetuscrackonJune 27, 2025 Define class Event Define class Event: The program must accept the title, the registration fee and the duration(in minutes) of N…
Python1 Min Read LetuscrackonJune 16, 2025 Define class Stick Define class Stick: The below Python program accepts two integers representing the lengths of two sticks as the input. The program…
Python1 Min Read LetuscrackonJune 13, 2025 Define class Test Define class Test: The below Python program accepts the name and the duration(in minutes) of two tests as the input.…
C Java Python TCS CodeVita3 Min Read LetuscrackonJune 12, 2024 Class Arrangement – TCS CodeVita A teacher in a class with N students has noticed that some students have formed their own groups and hence prevented intermingling of…
Java1 Min Read LetuscrackonJune 10, 2024 JAVA – Class – Constructor Plus Methods Definition The main method in Hello.java is as shown below. Define the class SimpleCalculator.java by filling in the code so that the…