You are on page 1of 4

Description Some Possible Values

Noelia Davila Montero A00817939


Number of People in the group 30 People
Number of Men in the group 13 Men

Input:
16. Algorithm
to
calculate
the P-M=Number of Women
percentage Total Nuber of People
of Subtract the number of Men from (P-M)*100/TNP
women the number of people in the
in Process: group, to get the number of W%=(30-13)*100/30
a women in the group. Then
group. multiply 100 and the number of
women and then divide by total
amount of people in the group.

Output:
Percentage of Women in a Group W%=56.67

Description Some Possible Values


Number of Years Worked 5 years
Salary for 3 months and 20 days 20001.03 MXN

Input:
2. Create
the
algorithm
that Y*S= set
calculates 20000*5
the amount
of money Number of Years Worked
to pay to Process: multiplied by the salary for 3
months and 20 days
the former
employee.

Output: Settlement 100005.15 MXN

Description Some Possible Values


Cost Production 13.99$
13. Algorithm Input: Profit Percentage 5.5%
to determine CP+(CP*PP)= Final Price
the final price 13.99+(13.99*5.5/100)
for a product
considering Process: Cost Production plus the cost
the cost production times the profit
of production percentage wanted.
and the
percentage
of profit the
company
wants.
the final price
for a product
considering
the cost
of production
and the
percentage
of profit the
company Output: Final Price FP= 14.75945$
wants.
Data Type
P int
M int

W% Double

Data Type
Y int
S double

Set Double

Data Type
CP double
PP double
FP double

You might also like