public static void input()
    {
        Scanner scan=new Scanner(System.in);
        System.out.println("Enter the sentence :");
        s=scan.nextLine();
    }
    static String s1=s.toUpperCase();
      s1 = "" +s1;
    public static void count()
    {
        for(int i=0;i<=s1.length()-1;i++)
        {
        char a=s1.charAt(i);
        char b=s1.charAt(i+1);
        if(a==""&&b=='A')
        {
            c++;
        }
    }

Dear Student,

As of now we do not provide any assistance in the concerned subject.

You will receive an update as and when we will start serving this subject on the forum.

For more information regarding the subjects we cater kindly reach us through our support on care@meritnation.com.

Regards

  • 0
What are you looking for?