program to H+ELL+O W+ORLD print + before each vowels

  Enter string
hello world
H+ELL+O W+ORLD

import java.util.Scanner;

public class Demo3
{

public static void main(String[] args)
{

  String s;
Scanner scan = new Scanner(System.in);
System.out.println("Enter string");
s= scan.nextLine();
s= s.toUpperCase();

   for(int i=0;i<s.length();i++)
{

    if (s.charAt(i)=='A'|| s.charAt(i)=='E'|| s.charAt(i)=='I'|| s.charAt(i)=='O' || s.charAt(i)=='U')
{
System.out.print("+" + s.charAt(i));
}

else
{
System.out.print(s.charAt(i));
}

}

}

}