One Loop
- sumDigits 2.4 🌶️🌶️🌶️ Given a non-negative int n, return the sum of its digits. sumDigits(126) returns 9 (1+2+6…
- caesarShiftString 2.7 🌶️🌶️🌶️ Extra Write a method that takes one String parameter, s, and one int parameter, shift, and retu…
- printSquares 4.2 Given n, print the square of each integer from 1 to n, one per line, using System.out.pri…
- capitalizeAll 6.3 Given an ArrayList<String> of words, return a new ArrayList<String> containing each word …