Ask the user to enter a positive even integer n, then compute the following expr...
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Ask the user to enter a positive even integer n, then compute the following expression. Display an error message if n is not positive or not even. Print the result rounded to four decimal places.