Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SoftUni Homework:
- Problems 1 & 2:
- Otput from program:
- 24: 89 is a fibonacci number with index: 11
- 101: 547
- 251: 1597 is a fibonacci number with index: 17
- Problem 3:
- Otput from program:
- 100!=93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
- 171!=1241018070217667823424840524103103992616605577501693185388951803611996075221691752992751978120487585576464959501670387052809889858690710767331242032218484364310473577889968548278290754541561964852153468318044293239598173696899657235903947616152278558180061176365108428800000000000000000000000000000000000000000
- 250!=3232856260909107732320814552024368470994843717673780666747942427112823747555111209488817915371028199450928507353189432926730931712808990822791030279071281921676527240189264733218041186261006832925365133678939089569935713530175040513178760077247933065402339006164825552248819436572586057399222641254832982204849137721776650641276858807153128978777672951913990844377478702589172973255150283241787320658188482062478582659808848825548800000000000000000000000000000000000000000000000000000000000000
- Problem 4:
- 5
- 15.6204993518133
- 269.258240356725
- Problem 5:
- 1234: Bin=10011010010 Hex=4D2
- 1100101: Dec=101 Hex=65
- ABC: Dec=2748 Bin=101010111100
- Problem 6:
- LCM of 1234, 3456 is 2132352
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement