Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
thangeram
Group Title
hey friends pls help me
solve this program using loop
inpute bs display hra hra is 10% of bs number of employees are 3
 3 years ago
 3 years ago
thangeram Group Title
hey friends pls help me solve this program using loop inpute bs display hra hra is 10% of bs number of employees are 3
 3 years ago
 3 years ago

This Question is Closed

Gary_Ahuja Group TitleBest ResponseYou've already chosen the best response.0
dont't u think there is a spelling mistake???????????????????????????????????????????????????
 3 years ago

ganyumbez Group TitleBest ResponseYou've already chosen the best response.0
I'm afraid pal,it's hard to understand the problem,cld u put it in a better, simpler version?
 3 years ago

thangeram Group TitleBest ResponseYou've already chosen the best response.0
here bs is basic salary which 10% of hra means house rent allowance given to 3 employees in company calculate this using loop
 3 years ago

thangeram Group TitleBest ResponseYou've already chosen the best response.0
and hra is 10000
 3 years ago

jaskaran Group TitleBest ResponseYou've already chosen the best response.1
this might help def house_rent_allowance(): i=1 while i < 4: bs = input('Enter basic salary of employee: ') hra = (10*bs)/100 print 'The HRA of Employee',i,'is',hra i+=1
 3 years ago

thangeram Group TitleBest ResponseYou've already chosen the best response.0
thanks jaskaran
 3 years ago

thangeram Group TitleBest ResponseYou've already chosen the best response.0
but still need help anybody pls solve this using for loop
 3 years ago

jaskaran Group TitleBest ResponseYou've already chosen the best response.1
@thangeram , it's still very easy , all you got to do is to make small change here: def house_rent_allowance(): for i in range(1,4): bs = input('Enter the salary of the Employee: ') hra = (10*bs)/100 print 'The HRA of Employee',i,'is',hra i+=1
 3 years ago
See more questions >>>
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.