Created
November 6, 2019 13:45
-
-
Save gitaficionado/d65cd9f851f8d8fcd4aff5c4bb27b4f3 to your computer and use it in GitHub Desktop.
(Process string) Write a program that prompts the user to enter a string and dis-plays the characters at odd positions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class ProcessStringExercise_05_48 { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
System.out.print("Enter a string: "); | |
_________________________________________ | |
Create a for loop that will look for each odd letter in the string. | |
System.out.println(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment