Python Problem Solving-Day 3

1] WAP to calculate the area of triangle square circle





2]   WAP to check whether a triangle is equilateral, isosceles, or scalene

                     


3] WAP Total no. of days, present days, permission

students above 75% attendance should be allowed for exam

students with permission are allowed though less than 75%]




4]  WAP to check Roots of the Quadratic equation? Nature of the roots?

                               

5] WAP Price = your_value

quantity = your_value

amount = price * quantity

amount = ( 0 - 500 ) is low quality

amount = ( 501 - 1000 )is High quality

amount = ( 100 - 200 ) is cheaper cost

amount = ( 201 - 400 ) is good cost

amount = ( 401 - 800 ) is moderate cost

amount = ( 801 - 1000 )is costly

8 Any product costs 100 each in shopping mall

There is a discount of 10% on the bill if customer shops more than 1000 rupees

Hint- Ask user, how many products he purchased as input to your code.

Tell the customer the final bill.




6] WAP to Build Mini calculator having functionalities - *, /, +, - , %, squareroot, exponentiation, floor, ceil

                                     


7] WAP to Find greatest number among three numbers? ex: a,b,c are numbers
 i) a is greater
 ii) b is greater 
iii) c is greater 
iv) a, b are greater 
v) a,c are greater
 vi) b,c are greater 
vii) all are equal



8] Any product costs 100 each in shopping mall

There is a discount of 10% on the bill if customer shops more than 1000 rupees

Hint- Ask user, how many products he purchased as input to your code.

Tell the customer the final bill.



9] Voter eligibility criteria

  1. What is your name? (Greet user with his/her name)
  2. Where are you from? (indian /others, only Indians are allowed to vote)
  3. Have you ever experienced voting before? (Yes/No)
  4. Would you like to Vote? (Yes/No)
  5. Which Year-Month-Day were you born? (DAY/MONTH/YEAR , Calculate age)
  6. Did you like our project? (Yes/No)
  7. Please give us rating out of 5? => less than 5 ratings give 'we will try better' else 'thanks'




Comments

Popular posts from this blog

Learning Python From Scratch