replit
022 - For Loops 4
Write a for loop that will print out every other letter in a String, starting with the first letter. These letters should be printed all on one line with no space in between. Sample input/outputs In: hello out:hlo In: so code very wow out:s oevr o 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 import java.util.Scanner; class Main { public static void main(String[] args) { Scanner inp = new Scan..