Category: java


find unique elements in array java week – 5 b) Write java program that inputs 5 numbers, each between 10 and 100 inclusive. As each number is read display it only if it‘s not a duplicate of any number already Read more…


Java roll dice 10000 times with algorithm and source code Week 5 a)Aim: To Write a java program to make rolling a pair of dice 10,000 times and counts the number of times doubles of are rolled for each different Read more…


Java program that displays the number of characters line word . Counting the number of characters is important because almost all the text boxes that rely on user input have certain limit on the number of characters that can be Read more…


Write a Java program that reads a file and displays the file on the screen with a line number before each line                               Week – 4 Read more…


Write a Java program that reads a file name from the user, then displays  information about whether the file exists, readable, writable, type of file and the length of the file in bytes   Week 4  a) Write a Java Read more…


Java program to make frequency count of vowels, consonants, special symbols, digits, words in a given text                                      Week – 3 c) Aim: Read more…


Write a Java program for sorting a given list of names in ascending order                       Week – 3 b)Aim: To Write a Java program for sorting a given list of names Read more…


Write a java program to checks whether a given string is a palindrome or not  Week 3 b)Aim: To Write a Java program that checks whether a given string is a palindrome or not. Ex: MADAM is a Palindrome.   Read more…


Write a java program to perform multiplication of two matrices Week – 2 b)Aim: To Write a java program to perform multiplication of two matrices.     import java.util.Scanner;   class MatrixMultiplication { publicstaticvoid main(String args[])    { int m, n, p, q, sum = 0, c, Read more…


write a java program that print the fibonacci series for a give number Week 2 a) Aim: To Write a java program that print the fibonacci series for a             give number. Source Code: import java.io.*; Read more…

Categories