Tcs assessment problem: museum problem.
package tcs_assessments; import java.util.Scanner; public class museumwalaprogram { //below is the main method public static void main(String[] args) { Scanner sc=new Scanner(System.in); Museum[] museum=new Museum[5]; for (int i = 0; i <museum.length ; i++) { int mi=sc.nextInt(); sc.nextLine(); String mn=sc.nextLine(); String ml=sc.nextLine(); int e=sc.nextInt(); sc.nextLine(); double r=sc.nextDouble(); sc.nextLine(); boolean rc=sc.nextBoolean(); ...