[ ASSIGNMENT: ] Will you make it? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 37

[ ASSIGNMENT: ] Will you make it?

You were camping with your friends far away from home, but when it's time to go back, you realize that you fuel is running out and the nearest pump is 50 miles away! You know that on average, your car runs on about 25 miles per gallon. There are 2 gallons left. TASK : Considering these factors, write a method that tells you if it is possible to get to the pump or not. NOTE : Method should return true if it is possible and false if not. /* Have fun...😃😄 && HappyCodings! */

16th Apr 2018, 9:09 AM
Danijel Ivanović
Danijel Ivanović - avatar
25 ответов
+ 20
D_Stark Always, my friend!! 😁👍😉
16th Apr 2018, 4:21 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 20
Fabio Ok! 😉👍Keep working!! 😆😀
16th Apr 2018, 5:07 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 20
Jan Štěch So why did not you copy and set up !? The task is set to be done! 😉👍
18th Apr 2018, 12:37 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 20
Sadaam Linux 😄😁👍Thanks a lot for support!! 😀👌😆😉
21st Apr 2018, 4:29 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 19
hinanawi Use whatever you want just to get to the pump!! 😁😄👍😂 The task is indicated in the same way, and you can freely convert the SI 👍😉 HappyCodings!! 😀👍
16th Apr 2018, 12:41 PM
Danijel Ivanović
Danijel Ivanović - avatar
16th Apr 2018, 8:20 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 18
Jan Štěch Here it is required that the tasks be solved, regardless of where they taken! And the books are written for the purpose of offering and presenting various types of tasks and problems? We need a solution to show our innovation and creativity through problem solving, and thus bring new ideas and ways of solving tasks. We learn here and we need practical examples or whatever you want. So you keep coding and show us something new and better, share your knowledge with us! Thanks! && HappyCoding!! 👍😉
18th Apr 2018, 12:54 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 18
Rishabh Singh where is your code! post your code in the assignment 😉
12th Aug 2018, 12:24 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 17
GooD Man Keep IT WorkinG👍🏿👌👏🏿👏😂😄😍
21st Apr 2018, 4:05 PM
Sadaam Linux
Sadaam Linux - avatar
22nd Apr 2018, 3:45 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 17
Uni 😀🏁Congratulations!!🏁😄 😃👏👏👏 on Level 10! 👏👏💪😀 and new Badge!! 👌😉👍 Thanks a lot for participating!! 👏😄😊
3rd May 2018, 5:15 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 17
Rishabh Singh 👍😉 Thanks a lot for support friend! 😆 // Will you make it! :) 🍻
12th Aug 2018, 11:52 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 11
Simple and playful code from me~~ https://code.sololearn.com/cmmOIl7fq95O/?ref=app
16th Apr 2018, 1:43 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 10
My code goes with the idea of the assignment but it picks itself, randomly, the location of the pump https://code.sololearn.com/WR9xrEwNc3Pe/?ref=app
16th Apr 2018, 11:36 AM
cyk
cyk - avatar
+ 10
https://code.sololearn.com/cY3Q55w5gRk1/?ref=app
16th Apr 2018, 4:19 PM
D_Stark
D_Stark - avatar
+ 8
Working on it!😉
16th Apr 2018, 4:48 PM
Fabio
+ 8
Danijel Ivanović Thank you very much and you are welcome as always it is a pleasure to participate to your challenges ! 👍👏👌😄😉😃😆
3rd May 2018, 5:17 PM
Uni
Uni - avatar
+ 7
can we use the SI system i don't like miles haha
16th Apr 2018, 11:46 AM
hinanawi
hinanawi - avatar
+ 7
Finally!! 😅😀 Hope you like it! ☺ https://code.sololearn.com/c923FdV02dLd/?ref=app
16th Apr 2018, 7:49 PM
Fabio