Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- String str = input.nextLine();
- String another = str.replace('a', 'A');
- if (str.equals(another)) {
- System.out.println("No a symbols");
- } else {
- System.out.println(another);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement