Professional Documents
Culture Documents
Actual Activity 1
Write a program that will calculate an Account Profit Income Statement. It is calculated
by totaling all of a business’s revenue sources and subtracting from that all the business’s
expenses that are related to revenue or simply the difference by subtracting total expenses
away from total income. The user will input the expenses and revenue and then the program will
analyze the financial performance by concluding whether a Profit or Loss Account based on the
calculated income statement. (Use a ternary operator to analyze the performance.)
Sample Output 1:
Sample Output 2:
PROGRAM CODE
#Bagting, Marvin D.
#ME1203
#Actual Activity 1.1
x=0
if statement > x:
print ("\nFinancial Performance: Profit")
elif statement < x:
print ("\nFinancial Performance: Loss")
else:
print ("\nFinancial Performance: Balanced")
PROGRAM SCREENSHOT