Computer Science, asked by avneet823, 1 month ago

Correct answer will be marked brainliest. please answer in ur own handwriting
Computer:
write a program to print the following output
The Parrot sang "Good Morning !!! Friends'".​

Answers

Answered by nadikashaiendrayadav
0

Answer:

Write a program to print a message to the screen using the while loop. N parrots are arranged in a line and one speaks after another. The message will print which parrot is talking from the first to the last. The message to be printed is "Parrot #r is talking", where r is an integer in the range [1, N]. Given an input integer number n, loop over all the parrots and print which one is talking. After all parrots have spoken, print the words "The parrots have spoken!" Example: Input Output Enter the number of parrots: Parrot 1 is talking Parrot 2 is talking Parrot 3 is talking Parrot 4 is talking The parrots have spoken! 4

Explanation:

May this help you and thanks for giving me a chance

Similar questions