In: Computer Science
For this problem you should describe the algorithm using a flowchart and then write Python code to implement the algorithm. You are to create a Python program file for your code. Include in your HW document a photo of your flowchart and a screenshot of your program file and the output in IDLE that results when you run the program. The algorithm: Ask the user to input their annual salary and then calculate and print the weekly salary (annual/52). I just want the flowchart
Dear Student ,
As per the requirement submitted above , kindly find the below solution.
Flow chart :
Program :
Here a new python program with name "main.py" is created, which contains following code.
main.py :
#asking user to enter annual salary
annualSalary=int(input("Enter annual salary : "))
#calculate weekly salary
weeklySalary=annualSalary//52
#print weekly salary
print("weekly Salary : ",str(weeklySalary))
======================================================
Output : Compile and Run main.py to get the screen as shown below
Screen 1 :main.py
NOTE : PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.