Explain the role of control flow statements in Java. How do…

Explain the role of control flow statements in Java. How do conditional statements (if-else, switch) and looping constructs (for, while) contribute to program logic and the natural flow of your program’s execution?  Provide brief examples of how you would use these statements to solve a specific problem of your choosing.