Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(readFile.hasNextLine()){
- currentRow = readFile.nextLine();
- for (int i = 0; i < currentRow.length(); i++) {
- ascii = (int) currentRow.charAt(i);
- ascii += 3;
- newchar = (char) ascii;
- builder.insert(i,newchar);
- newRow = builder.toString();
- printer.write(newRow);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement