Write a program to input a sentence. Count and print the occurrence/frequency of a word "yes" or "YES" from the String. SOURCE CODE import java.io.*; import java.util.*; public class YES_yes { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.print("Enter a String :"); String str=sc.nextLine(); int k=0; str=str+" "; String s=""; for(int i=0;i<str.length();i++) { char ch=str.charAt(i); if(ch!=' ') { s=s+ch; } ...