C Java1 Min Read LetuscrackonJune 11, 2024 Shirt – Matching Pairs A shop to increase sales during a festival has an offer that a customer will get a discount if the customer buys shirts having same size in…
Java1 Min Read LetuscrackonJune 11, 2024 Rounding Marks In a college, each student receives marks M in any of the subjects in the range from 0 to 100. – If the difference between the marks and…
C Java Python2 Min Read LetuscrackonJune 11, 2024 Search Substring & Print Words The program must accept a space-separated string S and N string values as the input. For each string X among the…
Java1 Min Read LetuscrackonJune 11, 2024 JAVA – Method Overloading – Adder The main method class Hello.java is given below. Please write the code for the class Adder.java so that the program prints…
Java1 Min Read LetuscrackonJune 10, 2024 JAVA – Constructor – Sum and Product The main method in Hello.java is as shown below. Define the class Calculator.java by filling in the code so that the…
C Java Python2 Min Read LetuscrackonJune 10, 2024 Interlace Vowels & Consonants The program must accept a string S containing only alphabets as the input. The program must print all the vowels in the string S in…
C Java Python2 Min Read LetuscrackonJune 10, 2024 Matrix Palindrome The program must accept an integer matrix of size RxC as the input. The program must print YES if every row and every…
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…
Java1 Min Read LetuscrackonJune 10, 2024 Calculator Implementation The interface Calculator defines the following methods. Define the class NormalCalculator so that it implements the interface Calculator.…
Java1 Min Read LetuscrackonJune 10, 2024 JAVA – Class – Static Method Definition The main method in Hello.java is as shown below. Define the class Marks.java by filling in the code so that the program accepts the marks in…