Computer Science, asked by preethi1112, 7 months ago

you are provided a string of words and a 2 digit number. the two digits of the number represent the two words to be processed. for example the string is "today is a nice day" and the two digit number is 41 , then you are expected to process the 4th word nice and the first word today

Answers

Answered by yashshukla0608
1

Answer:

15 × 2 =41

Explanation:

so you get 41 and divide it by 2 so something that get's multiple you get 41

Answered by anusha195sl
0

Answer:

The correct answer is Java Programming.

Explanation:

class TodayIsANiceDay

{

   public static void main(String s[])

   {

       int code = 3;

       

       switch(code)

       {

           case 1:

               System.out.println("TODAY");

           case 2:

               System.out.println("IS");

           default:

               System.out.println("A");

           case 3:

               System.out.println("NICE");

           case 4:

               System.out.println("DAY");

           

       }

   }

}

OUTPUT:

TodayIsNiceDay

NICEDAY

From the above syntax, we can understand that we are printing and displaying the message we need with number count.

#SPJ3

Similar questions