CS1103 Assignment 1
CS1103 Assignment 1
Assignment Unit 1
Assignment for unit one this week was to write a program to solve the solve a problem of
counting number of characters in a text provided by a user, check for the most used character,
then gets a character from the user and provide its frequency of use. This was really a challenge I
try my best but could not complete my work as there were bugs in my program. The following is
my code.
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
public class Analyzer {
Most utility used were imported into the java file to aid with the implementation of the code
Eck, D. J. (2022). Introduction to programming using java version 9, JavaFX edition. Licensed
under CC 4.0. Use the Introduction to Programming Using Java for pdf version of the file.