Computer Science, asked by dharani1011, 5 months ago

Chain Marketing Sales Organization has a scheme for
income generation, through which its members
generate income for themselves.
The scheme is such that suppose A joins the scheme
and makes Rand V to join this scheme then A is
Parent Member of Rand V who are child Members.
When any member joins the scheme then the parent
gets total commission of 10% from each of its child
members.
Child members receive commission of 5%
respectively
If a Parent member does not have any member
joined under him, then he/she gets commission of
5%.
Take Name of the Members Joining the Scheme as
input.
Display how many members joined the scheme
including parent member, Calculate the Total
commission gained by each members in the scheme.
The fixed amount for joining the scheme is Rs.5000
on which commission will be generated
Scheme Amount =5000
Example 1: When there are more than one child
members
Input: (Do not give Input Prompts. Accept values as
follows.)​

Answers

Answered by memithra2003
1

Answer:

stop posting irrelevant things plz

Answered by snehalmedidar
0

Answer:

mem=list(input("parent:"))

a=input("Y OR N==>")

if a =="y":

   child=list(input("CHILD:").split())

   mem.append(child)

   tm= (len(child))

   print("COMMISION DETAILS")

   print("total members:", tm+1)

   print(mem)

   print(child)

   com_amit= (250*len(child))*2

   print(str(mem[0])+":"+ str(com_amit))

   for i in range(tm):  

       print(str(child[i])+":"+ "250")

         

elif a == "n":  

  print("parent"+ " " +str(mem[0]) + ":"+ "250 inr")

Explanation:

Similar questions