第1條Draw a flowchart tp show the steps to solve the following problems
Aprogram is designed to perform to perform the following tasks:
(a) get a number,n、as input
(b) calculate the "Total" of the following:
[Total=1^n+2^n-1+3^n-2+4^n-3+......(n-2)^3+(n-1)^2+n^1]
for example、when n=6. Total=1^6 total=1^6+2^5+3^4+4^3+5^2+6^1=209
第2條write a program to perfrom the tasks according to the flowchart.
Part 1(b) should br use a function Named Answer and a "Do Until ...Loop" tocomplete.
(Test the progarm with n=6、Total=209). The interface of the program is show as the following for reference