Advertisement
Guest User

SoftUni_Homework_1

a guest
Aug 17th, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. SoftUni Homework:
  2.  
  3. Problems 1 & 2:
  4.  
  5. Otput from program:
  6. 24: 89 is a fibonacci number with index: 11
  7. 101: 547
  8. 251: 1597 is a fibonacci number with index: 17
  9.  
  10. Problem 3:
  11.  
  12. Otput from program:
  13. 100!=93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
  14. 171!=1241018070217667823424840524103103992616605577501693185388951803611996075221691752992751978120487585576464959501670387052809889858690710767331242032218484364310473577889968548278290754541561964852153468318044293239598173696899657235903947616152278558180061176365108428800000000000000000000000000000000000000000
  15. 250!=3232856260909107732320814552024368470994843717673780666747942427112823747555111209488817915371028199450928507353189432926730931712808990822791030279071281921676527240189264733218041186261006832925365133678939089569935713530175040513178760077247933065402339006164825552248819436572586057399222641254832982204849137721776650641276858807153128978777672951913990844377478702589172973255150283241787320658188482062478582659808848825548800000000000000000000000000000000000000000000000000000000000000
  16.  
  17. Problem 4:
  18.  
  19. 5
  20. 15.6204993518133
  21. 269.258240356725
  22.  
  23. Problem 5:
  24.  
  25. 1234: Bin=10011010010 Hex=4D2
  26. 1100101: Dec=101 Hex=65
  27. ABC: Dec=2748 Bin=101010111100
  28.  
  29. Problem 6:
  30.  
  31. LCM of 1234, 3456 is 2132352
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement