-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HW due 3/27 #5
Comments
|
Homework |
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Welcome to HW3! All material used in this HW is located here
1. Recap: Strings and loops
Write a function uniqueCharacters which accepts as input a string S. Given the string S return a string S2 which contains all the distinct characters in S. The input string will only contain lowercase characters. The ordering of characters in the output string does not matter. Eg.
2. Java Classes
You are provided with a Person class. This class has private fields name, phoneNumber and city, along with their getter and setter methods.
3. Cryptography : Caesar Cipher
The Roman General Julius Caesar used to correspond with his generals using a secret code. He devised a way of encrypting his messages using a simple encryption scheme now known as Caesar Cipher or Shift Cipher. You can read more about it here
4. BONUS : Voting System
You are given 3 classes
Write a program to simulate an election. Create a class called VotingSimulator. In the main method, you are required to do the following:
5. Weekly Requirements
After submitting your HW, please complete a HW Feedback form
The text was updated successfully, but these errors were encountered: