MasterGun

Ez program to solve ax+b=0 and find x

May 13th, 2021
556
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print ("Program is made by M.Trotsenko")
  2. a = float(0)
  3. b = float(0)
  4. x = float(0)
  5. print ("Standart form is ax+b=0")
  6. print ("Enter A")
  7. a = float(input())
  8. print ("Enter B")
  9. b = float(input())
  10. print ("Okay, searching X")
  11. x = float(b/a)
  12. print (x,"Here is your X")
  13.  
RAW Paste Data