Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android Development for Beginners : Calculate the Price Method
/**
* Calculates the price of the order based on the current quantity.
*
* @return the price
*/
private int calculate price(int quantity {
int price = quantity * 5;
return price;
}
/**
* Calculates the price of the order based on the current quantity.
*
* @return the price
*/
private calculatePrice(int quantity)
int price = quantity * 5;
return price;
/**
* Calculates the price of the order based on the current quantity.
*
* @return the price
*/
private int calculatePrice(int quantity) {
int price = quantity * 5;
return price;
}
@Fideas

This comment has been minimized.

Copy link

commented Jul 9, 2015

@royalbrawler There was no need to put the answer in plain text without even a warning for future students.

@HPr0ndelo

This comment has been minimized.

Copy link

commented Jul 12, 2015

Yea, as someone who likes to figure out the answer for myself, I prefer not seeing it in the very first comment. you're a dick @royalbrawler

@gamesnepal

This comment has been minimized.

Copy link

commented Jul 16, 2015

Yeah, don't answer the question here. Do it in the quiz.

@domdomegg

This comment has been minimized.

Copy link

commented Aug 11, 2015

SPOILER
It is either A, B or C.

@pratamawijaya

This comment has been minimized.

Copy link

commented Aug 23, 2015

nice

@walaa-assy

This comment has been minimized.

Copy link

commented Sep 6, 2015

c

@iswetha522

This comment has been minimized.

Copy link

commented Sep 21, 2015

c

@devmike01

This comment has been minimized.

Copy link

commented Sep 30, 2015

Its C

@azmina721

This comment has been minimized.

Copy link

commented Oct 3, 2015

C ✌️

@alantmelo

This comment has been minimized.

Copy link

commented Oct 3, 2015

Don't answer it here!

@WangWp19

This comment has been minimized.

Copy link

commented Oct 11, 2015

yes, please don't answer it here!

@sandeepkumarp

This comment has been minimized.

Copy link

commented Oct 24, 2015

Option A has missing closing bracket and option B has missing curly brackets that shows the block length.

@akarsh

This comment has been minimized.

Copy link

commented Nov 4, 2015

Option C

@smithThapa

This comment has been minimized.

Copy link

commented Nov 4, 2015

Why are people so stupid ? Just answer in quiz not here. There are future students too...

@Ajimi

This comment has been minimized.

Copy link

commented Nov 30, 2015

Answer On QUIZ :'(

@malibaig786

This comment has been minimized.

Copy link

commented Dec 2, 2015

Hello Everyone I am doing these courses from google. Lets do it together if any one wants to contact me one malibaig41@gmail.com

@macobse

This comment has been minimized.

Copy link

commented Dec 2, 2015

C

@RupokShahriar

This comment has been minimized.

Copy link

commented Jan 12, 2016

C

@owenl131

This comment has been minimized.

Copy link

commented Jan 12, 2016

c++

@MehmetCan2

This comment has been minimized.

Copy link

commented Feb 26, 2016

No answer pls.

@KalpeshMangukiya

This comment has been minimized.

Copy link

commented Feb 26, 2016

Option C

@SergioMendesBorges

This comment has been minimized.

Copy link

commented Mar 1, 2016

Option C 👍

@dmir23

This comment has been minimized.

Copy link

commented Mar 13, 2016

Option C

@gulzaar

This comment has been minimized.

Copy link

commented Mar 14, 2016

option C

@iwzmax

This comment has been minimized.

Copy link

commented Mar 26, 2016

Lol it has to be one of the three

@davidkadiata

This comment has been minimized.

Copy link

commented Mar 28, 2016

it is C

@joaohenriiquee

This comment has been minimized.

Copy link

commented Mar 30, 2016

LOL, option C.

@ARTNS

This comment has been minimized.

Copy link

commented Apr 9, 2016

a and b have ERRORS, so has to be Option C

@necrtd

This comment has been minimized.

Copy link

commented Apr 12, 2016

it is C

@zhouzl18

This comment has been minimized.

Copy link

commented Apr 28, 2016

good,C

@formatCEnter

This comment has been minimized.

Copy link

commented Apr 28, 2016

The goal isn't to "just get through the course". The goal is to learn. If someone so lacks self-restraint that they post what they think the answer is, do you really trust their judgement? That said, if you're not that familiar with Java, here's a hint. One of the answers breaks method naming conventions, and one of the answers doesn't tell you what kind of variable will be returned. More colloquial: If you want to send some stuff to a method and get something back (not to the screen, but that you want to do more work on) you have to say what kind of thing you want back right near the beginning of the actual code of the method.

@NandaHayatun

This comment has been minimized.

Copy link

commented Apr 29, 2016

option C is correct

@BrunoCerberus

This comment has been minimized.

Copy link

commented May 17, 2016

C

@2JN

This comment has been minimized.

Copy link

commented May 19, 2016

Spoilers up ahead!

@angel-tren

This comment has been minimized.

Copy link

commented May 22, 2016

Respuesta C.. La B no tiene las llaves de entrada y cierre.. La A le faltan unas cosas y el )

@totoantonio

This comment has been minimized.

Copy link

commented Jun 10, 2016

Read!

@nassimjd

This comment has been minimized.

Copy link

commented Jun 22, 2016

I wish comments were turned off for this type of question.

@fer408

This comment has been minimized.

Copy link

commented Jun 26, 2016

its a given c

@agusarfi

This comment has been minimized.

Copy link

commented Jul 9, 2016

Don't look in comment before you guest it. Programming need bigger effort than only cheating.

@ghost

This comment has been minimized.

Copy link

commented Jul 15, 2016

C

@ericlucero

This comment has been minimized.

Copy link

commented Jul 30, 2016

Dont See Comments!!

@ltpitt

This comment has been minimized.

Copy link

commented Aug 9, 2016

Answer if clearly F

@AyaSalamaAbdElAziz

This comment has been minimized.

Copy link

commented Aug 18, 2016

C 💯

@aivydebnath

This comment has been minimized.

Copy link

commented Aug 27, 2016

Answer is Option C because in Option A ")" is missing. and ind in option B return type is missing and brackets are also missing.

@hassanshahzadaheer

This comment has been minimized.

Copy link

commented Aug 28, 2016

C

@dhananjayksharma

This comment has been minimized.

Copy link

commented Sep 4, 2016

C

@camango

This comment has been minimized.

Copy link

commented Sep 13, 2016

But if somenone put right answer then should explain it i guess

@Zoyisile

This comment has been minimized.

Copy link

commented Sep 20, 2016

I also choose option C

@saumya01

This comment has been minimized.

Copy link

commented Sep 20, 2016

C

@mohqnk32

This comment has been minimized.

Copy link

commented Sep 21, 2016

C

@robintyagi289

This comment has been minimized.

Copy link

commented Sep 27, 2016

Definitely C is The Correct Option.Syntactically And Logically

@sokkhimk

This comment has been minimized.

Copy link

commented Oct 4, 2016

It is C.

@BhavyaDJ

This comment has been minimized.

Copy link

commented Oct 14, 2016

option C

@PrincePascal

This comment has been minimized.

Copy link

commented Nov 12, 2016

Its C

@Abouchahd

This comment has been minimized.

Copy link

commented Nov 23, 2016

Please try to answer into the Quiz! Not here, thank you

@Rafiik

This comment has been minimized.

Copy link

commented Nov 28, 2016

Does anyone know why his tutorial are not available anymore? Its says it is exsist anymore.. :(

@MohamedHedhili

This comment has been minimized.

Copy link

commented Dec 14, 2016

its C

@droidMonk

This comment has been minimized.

Copy link

commented Dec 22, 2016

c

@Zifthis

This comment has been minimized.

Copy link

commented Dec 22, 2016

people are so dumb commenting a correct answer. WHY WOULD YOU SPOIL ITTTTTTTTTTTT

@erbesharat

This comment has been minimized.

Copy link

commented Dec 30, 2016

I can't understand why people keep commenting correct answer here 😠

@Mahmoud-fci

This comment has been minimized.

Copy link

commented Dec 31, 2016

Option C

@LittleFollower

This comment has been minimized.

Copy link

commented Jan 1, 2017

haha! I like it!

@nabarun1011

This comment has been minimized.

Copy link

commented Jan 2, 2017

The course is too much slow xD

@ridharezzag

This comment has been minimized.

Copy link

commented Jan 17, 2017

why there so many stupid people dont answer the question here

@gameengineer

This comment has been minimized.

Copy link

commented Jan 20, 2017

42

@HansRA

This comment has been minimized.

Copy link

commented Jan 27, 2017

izi c

@mtvjulya

This comment has been minimized.

Copy link

commented Jan 28, 2017

Answer is obvious=))

@DaveNOTDavid

This comment has been minimized.

Copy link

commented Feb 16, 2017

C

@anujajfox

This comment has been minimized.

Copy link

commented Feb 22, 2017

C

@Mostafayehya

This comment has been minimized.

Copy link

commented Feb 23, 2017

The answer shall be C .

@PedroP1res

This comment has been minimized.

Copy link

commented Mar 2, 2017

Come on guys , Spoiler warnings !!!!!!!!

@MakerShooter

This comment has been minimized.

Copy link

commented Mar 3, 2017

There is no ) at the first anwser and there is no {} under the secon anwser.
this semantic depends on programming language - so we have to learn how the language is created so for java it is lik that.

@jcunanan05

This comment has been minimized.

Copy link

commented Mar 6, 2017

thanks

@krishsam02

This comment has been minimized.

Copy link

commented Mar 10, 2017

c

@barbaraklimm

This comment has been minimized.

Copy link

commented Mar 11, 2017

:D lol

@krishsam02

This comment has been minimized.

Copy link

commented Mar 14, 2017

C is correct answer

@7ee1aa

This comment has been minimized.

Copy link

commented Mar 14, 2017

Heh... More spoiling .D .D You guys are funny .D

@nxdavar

This comment has been minimized.

Copy link

commented Mar 15, 2017

The answer is C

@nairotearP

This comment has been minimized.

Copy link

commented Mar 25, 2017

Perhaps disabling comments would fix everyone's problem.

@AlFX

This comment has been minimized.

Copy link

commented Apr 5, 2017

the funny thing is that you don't even read past students comments, don't answer here idiots

@vmasullo

This comment has been minimized.

Copy link

commented Apr 6, 2017

C

@ZdravkaEN

This comment has been minimized.

Copy link

commented Apr 7, 2017

the right answer is c

@gurutecno

This comment has been minimized.

Copy link

commented Apr 8, 2017

La respuesta correcta es la C.

@christianputzu

This comment has been minimized.

Copy link

commented Apr 8, 2017

I think it's option C.

@bhargavsasani

This comment has been minimized.

Copy link

commented Apr 10, 2017

I am happy to see that
student are happy to share that what they had to learn and what they can do
and it is google which made a better course as we know
and anyway google working for them and we should work for ourselves

there are some people worried about why student comment there about the correct answer
but you should understand that they are very happy with the android free course
if you not commented real answer on this page, no problem, but why you have a question about them(real student).
it is students behavior that they can not stop himself to stop to write the answer
because they know something else, thanks google for some awesome work, might be it is for your indirect profit.

complainers should understand that students are not as you,
and you are not as them.
and on this earth, every person are different
everyone is correct by self, might be not by your way.
so live by your way,
then you would realize that how the world is really, really true.

there is no mistake
and you can't find by anyway.
I am 16 years old but know the truth about this earth

                                                 -  student android developer (udacity)
@tudor-paraschivescu

This comment has been minimized.

Copy link

commented Apr 11, 2017

C for sure

@neliamx4

This comment has been minimized.

Copy link

commented Apr 11, 2017

@bhargavsasani well said!

@AdriaticHeart

This comment has been minimized.

Copy link

commented Apr 12, 2017

doesn't matter is the answer is posted, the point is to examine understand WHY this is the answer and you will get the same out of it:) Did u notice the brackets?

@AlisonOliveira

This comment has been minimized.

Copy link

commented Apr 18, 2017

opção C

@wilkin4

This comment has been minimized.

Copy link

commented May 3, 2017

C#

@ghost

This comment has been minimized.

Copy link

commented May 5, 2017

is C

@hakamibrahim

This comment has been minimized.

Copy link

commented May 15, 2017

is C

@AngaKoko

This comment has been minimized.

Copy link

commented May 16, 2017

Haha, getting help is part of what we are being taught :)

@tuandao2511

This comment has been minimized.

Copy link

commented May 19, 2017

C

@enumaelvischinedu

This comment has been minimized.

Copy link

commented May 22, 2017

C

@badeyemo

This comment has been minimized.

Copy link

commented May 24, 2017

Option C is correct!

@frayvier

This comment has been minimized.

Copy link

commented May 25, 2017

Option C follows basic java syntax for defining methods!

@karosi12

This comment has been minimized.

Copy link

commented Jun 2, 2017

C

@pregenRobot

This comment has been minimized.

Copy link

commented Jul 16, 2017

The answer is obviously d! Cmon guys be more serious

@Mahmoudtarek59

This comment has been minimized.

Copy link

commented Aug 22, 2017

c

@Guille55

This comment has been minimized.

Copy link

commented Aug 26, 2017

Hint: is option A or B or C

@IbrahimHilali

This comment has been minimized.

Copy link

commented Sep 14, 2017

C

@Soundharyaam

This comment has been minimized.

Copy link

commented Sep 18, 2017

Yeah. It's C.

@Ahmed012345

This comment has been minimized.

Copy link

commented Sep 27, 2017

C

@ShaiGotlieb

This comment has been minimized.

Copy link

commented Oct 10, 2017

Option C is the correct answer

@FranzoJosefo

This comment has been minimized.

Copy link

commented Oct 17, 2017

Why would you even answer here?

@rpgomes

This comment has been minimized.

Copy link

commented Nov 10, 2017

Option D

@nkemjikaevans

This comment has been minimized.

Copy link

commented Nov 14, 2017

option c

@SKREFI

This comment has been minimized.

Copy link

commented Nov 23, 2017

STOP Answearing here!

@Einsomnia

This comment has been minimized.

Copy link

commented Dec 2, 2017

Definately, the answer should be "C"

@ghost

This comment has been minimized.

Copy link

commented Dec 16, 2017

c is the correct answer

@dbelisario

This comment has been minimized.

Copy link

commented Dec 21, 2017

La opción A tiene un error de declaración en el nombre del método, la opción B carece de criterios en la declaración del método, mientras que la opción C esta escrita de manera correcta.

C is the correct answer

@omarkartmo

This comment has been minimized.

Copy link

commented Dec 25, 2017

C

@GabrielePorro

This comment has been minimized.

Copy link

commented Dec 29, 2017

C!

@shubhy824

This comment has been minimized.

Copy link

commented Jan 1, 2018

C : )

@osamaelfiki

This comment has been minimized.

Copy link

commented Jan 4, 2018

c

@AhmMahgoub

This comment has been minimized.

Copy link

commented Jan 6, 2018

c

@ludwigschubi

This comment has been minimized.

Copy link

commented Jan 6, 2018

This quiz was somehow not about programming, but java syntax. Kind of useless in my opinion, since you can look up syntax all the time, but actual logical understanding of what you are doing has to be teached. Sometimes i can not see how that is present within the course.

@ginaro2018

This comment has been minimized.

Copy link

commented Jan 12, 2018

c

@Patrikrizek

This comment has been minimized.

Copy link

commented Jan 17, 2018

c

@sanikamal

This comment has been minimized.

Copy link

commented Jan 20, 2018

It's C

@alexmochu

This comment has been minimized.

Copy link

commented Jan 23, 2018

c

@ombasaN

This comment has been minimized.

Copy link

commented Jan 24, 2018

definitely the answer is C

@dennisotugo

This comment has been minimized.

Copy link

commented Jan 25, 2018

dab dab dab dab dab dab

@isijackson

This comment has been minimized.

Copy link

commented Jan 27, 2018

Option C

@MahmoudElrabee

This comment has been minimized.

Copy link

commented Jan 29, 2018

C

@lkings40

This comment has been minimized.

Copy link

commented Feb 2, 2018

Option C

@engfouad

This comment has been minimized.

Copy link

commented Feb 2, 2018

answer is C

@aydinaytac

This comment has been minimized.

Copy link

commented Feb 3, 2018

Option C is the correct one ;)

@MarwaAdel

This comment has been minimized.

Copy link

commented Feb 3, 2018

c is correct

@Maxwe1

This comment has been minimized.

Copy link

commented Feb 3, 2018

C, of course.

@Msayedsaad

This comment has been minimized.

Copy link

commented Feb 4, 2018

C, :)

@LindenShield

This comment has been minimized.

Copy link

commented Feb 5, 2018

The correct answer is C because the close brace aren't missed.

@ansred

This comment has been minimized.

Copy link

commented Feb 5, 2018

c

@SHAIMAAHASSAN

This comment has been minimized.

Copy link

commented Feb 6, 2018

c is correct as 👍
a-is missing(
b-missing int as when define method and return value should write the type of return value (int,String,.....)

@nepara90

This comment has been minimized.

Copy link

commented Feb 6, 2018

C is correct

@TheBaileyBrew

This comment has been minimized.

Copy link

commented Feb 6, 2018

Why is everyone answering here? - it defeats the purpose of having this gist available for future students who want to figure it out on their own.

@Nogaeman

This comment has been minimized.

Copy link

commented Feb 7, 2018

The Option Is C

@LailaHussain

This comment has been minimized.

Copy link

commented Feb 8, 2018

The correct option is C.

@abdullahelsheikh

This comment has been minimized.

Copy link

commented Feb 9, 2018

-A: IS WRONG because exist space in method name .
-because does not between a pair of parentheses
-B: Is Wrong too because the body does not between braces, {}.

Option C is Correct because all conditions is true

@mohamedyossri4

This comment has been minimized.

Copy link

commented Feb 10, 2018

Option A: is incorrect as the closing bracket after int quantity is missing
Option B: is incorrect as Opening and Closing "{" are missing
Option C: is correct method

@omaralawneh

This comment has been minimized.

Copy link

commented Feb 11, 2018

C

@m-HARD

This comment has been minimized.

Copy link

commented Feb 13, 2018

C

@abdahma01

This comment has been minimized.

Copy link

commented Feb 15, 2018

C

@MoZarara

This comment has been minimized.

Copy link

commented Feb 20, 2018

c

@home2mars

This comment has been minimized.

Copy link

commented Feb 22, 2018

LOL ...... The owner of this gist should have TURN OFF the comment section.
You are not supposed to answer the question here. You are doing disservice to future students.

@sarovarsubedi

This comment has been minimized.

Copy link

commented Feb 25, 2018

dont understand why people insist on providing the answer !!!

@alarek

This comment has been minimized.

Copy link

commented Feb 25, 2018

Why are people so stupid ?
Write your answer in quiz not here

@badrddinb

This comment has been minimized.

Copy link

commented Feb 25, 2018

C

@Abokorhassan

This comment has been minimized.

Copy link

commented Mar 2, 2018

C

@abdalrhman22

This comment has been minimized.

Copy link

commented Mar 4, 2018

c

@cvikvi

This comment has been minimized.

Copy link

commented Mar 6, 2018

Guys you answer on the video not here. This is the equivalent of yelling out the answer on a test. Two you're kind of showing you have no self restraint. She literally walks people through why each answer is right and wrong.

@miaadib

This comment has been minimized.

Copy link

commented Mar 8, 2018

really we are in class y all answer here bcuz how we will know who is understand this lesson or no all will be same bcuz most of them will copy this answer without know why choose this

@derekshum2

This comment has been minimized.

Copy link

commented Mar 11, 2018

it is c

@MustafaAbdeltawab

This comment has been minimized.

Copy link

commented Mar 16, 2018

c

@xbarakota

This comment has been minimized.

Copy link

commented Mar 17, 2018

C

@DarthChowder

This comment has been minimized.

Copy link

commented Mar 18, 2018

Why are you all posting the answer. There are people that need to think it over for themselves and learn. Don't just give them the answer.

@louayeldin

This comment has been minimized.

Copy link

commented Mar 18, 2018

Stick with option C

private int calculatePrice(int quantity) {
int price = quantity * 5;
return price;
}

Reasons: because its declared according to the guidelines and also its return the result as an integer

@danahad3

This comment has been minimized.

Copy link

commented Mar 18, 2018

C

@MostafaMahmoudAhmed

This comment has been minimized.

Copy link

commented Mar 18, 2018

C

@NassimCodeDev

This comment has been minimized.

Copy link

commented Mar 19, 2018

C

@apitimur

This comment has been minimized.

Copy link

commented Mar 23, 2018

Yeah, we learn something here. Better if we don't write the answer here

@esmailFarag

This comment has been minimized.

Copy link

commented Mar 24, 2018

c

@wefacd2wedcs

This comment has been minimized.

Copy link

commented Mar 27, 2018

I think it's E but it might also be D

@lakshmiprasannatirumala

This comment has been minimized.

Copy link

commented Apr 1, 2018

option c is correct. There are syntactical errors in A and B

@abdobasha2004

This comment has been minimized.

Copy link

commented Apr 2, 2018

C

@djames2018

This comment has been minimized.

Copy link

commented Apr 12, 2018

I think its C

@Udaypratap3

This comment has been minimized.

Copy link

commented May 4, 2018

The answer is C because it follows the proper syntax of declaring a method

private returnType methodName(parameters){


}

@iammahesh99

This comment has been minimized.

Copy link

commented May 8, 2018

its c

@shoooka

This comment has been minimized.

Copy link

commented May 10, 2018

CCCCCCCCCCCCCCCCCCCCCCC

@KingKiitt

This comment has been minimized.

Copy link

commented May 11, 2018

Why do people keep answering it here? I mean, it's kind of obvious because there's not much difference between the codes but give other students a try to think for themselves.

@dev-ali-mansour

This comment has been minimized.

Copy link

commented May 11, 2018

Option C is the correct answer because method naming is like variable we can't put space in method name

@OmkarSahasrabudhe

This comment has been minimized.

Copy link

commented May 12, 2018

Option C

@Helendarmi

This comment has been minimized.

Copy link

commented May 18, 2018

the answer is C

@parupalli

This comment has been minimized.

Copy link

commented May 19, 2018

option c

@Eduese

This comment has been minimized.

Copy link

commented May 21, 2018

I think this space is to help us in answering the videos questions, hence the codes option.

@Bashirok

This comment has been minimized.

Copy link

commented May 23, 2018

The student who comment the answer really shouldn't, I know you might find it entertaining for your crummy little minds, but it isnt for the new students.
But its okay i don't need an explanation, hope is lost i can't sit here in desperation, waiting, Hopping but nothing changes, its okay i'm used to it, All hope is lost i cant sit here rambling hope some else finds this interesting.
Definitions (for the un-educated students who think its okay to comment the answer)
Crummy: Dirty, Broken
Desperation: A state of despair
Rambling: lengthy and confused or inconsequential.

@elharmouchi

This comment has been minimized.

Copy link

commented May 25, 2018

Option C is correct

@stephenjude

This comment has been minimized.

Copy link

commented May 27, 2018

C

@Mohanad0

This comment has been minimized.

Copy link

commented May 28, 2018

C

@NtaoMoloi

This comment has been minimized.

Copy link

commented May 30, 2018

I also don't understand why others post their answers here when they should just compare the methods and go back to the video quiz to answer.

@khldonemad

This comment has been minimized.

Copy link

commented Jun 1, 2018

c

@Rufyda

This comment has been minimized.

Copy link

commented Jun 2, 2018

الاجابه هي رقم c

@gagoor

This comment has been minimized.

Copy link

commented Jun 2, 2018

Option C

@serdoune

This comment has been minimized.

Copy link

commented Jun 3, 2018

c

@khldonemad

This comment has been minimized.

Copy link

commented Jun 4, 2018

c

@mahmoudkashef

This comment has been minimized.

Copy link

commented Jun 6, 2018

Guys stop answering it here !!

@tooptooptoop

This comment has been minimized.

Copy link

commented Jun 7, 2018

c
/**

  • Calculates the price of the order based on the current quantity.
  • @return the price
    */
    private int calculatePrice(int quantity) {
    int price = quantity * 5;
    return price;
    }
@Yahia-Sayah

This comment has been minimized.

Copy link

commented Jun 13, 2018

Option C

@Fury4hwxc

This comment has been minimized.

Copy link

commented Jun 13, 2018

Option C
because
The reason is in the first choice and second choice there is similarity is mistakenly call the name must not contain a space
السبب
لان في الخيار الاول و الخيار الثاني يوجد تشابه بالخطا وهو عند الاستدعاء اسم اي متغير يجب الا يحوي مسافة

@Haapiiiii

This comment has been minimized.

Copy link

commented Jun 14, 2018

option c is the correct answer

@adelalgafery

This comment has been minimized.

Copy link

commented Jun 14, 2018

answer c

@asmaadahab

This comment has been minimized.

Copy link

commented Jun 16, 2018

c

@raDIUM2010

This comment has been minimized.

Copy link

commented Jun 18, 2018

lol C

@Exoticex

This comment has been minimized.

Copy link

commented Jun 19, 2018

C

@GinaJemy

This comment has been minimized.

Copy link

commented Jun 19, 2018

C

@soft2004

This comment has been minimized.

Copy link

commented Jun 30, 2018

c

@faiza3

This comment has been minimized.

Copy link

commented Jun 30, 2018

a,b,c

@mhmhussein

This comment has been minimized.

Copy link

commented Jul 3, 2018

option C

@Nicanor008

This comment has been minimized.

Copy link

commented Jul 9, 2018

option C

@tanwarrohit825

This comment has been minimized.

Copy link

commented Aug 2, 2018

option C is the correct one

@luismartinezs

This comment has been minimized.

Copy link

commented Aug 5, 2018

this is so ridiculously easy who cares whether they say the solution in the comments...

@Eisman333

This comment has been minimized.

Copy link

commented Aug 8, 2018

I don't get the fuss about the answer being in the comments, just don't scroll down that far to begin with. Look at the code and ignore the comments entirely. Besides, it is about figuring out why not just the answer and for that you'd have to scroll even further and that's definitely on you then. Not to mention after looking at the code most people will quickly realize that @saito200 is entirely right

@jerrychong25

This comment has been minimized.

Copy link

commented Aug 21, 2018

Option C

@enyawson

This comment has been minimized.

Copy link

commented Sep 3, 2018

C

@MohamedAShalaby

This comment has been minimized.

Copy link

commented Sep 4, 2018

C

@RanaOsama25

This comment has been minimized.

Copy link

commented Sep 6, 2018

c

@Hanaa94

This comment has been minimized.

Copy link

commented Sep 26, 2018

C

@yue-lin

This comment has been minimized.

Copy link

commented Sep 30, 2018

C

@Kigbu

This comment has been minimized.

Copy link

commented Oct 3, 2018

c

@Yogesh-Bhati

This comment has been minimized.

Copy link

commented Oct 3, 2018

Option C

@A-To-messi

This comment has been minimized.

Copy link

commented Nov 12, 2018

c

@Usha3012

This comment has been minimized.

Copy link

commented Nov 13, 2018

C is correct way.
A: )missing after passing the argument
B: { is missing which include implementation

@sagerfarhan

This comment has been minimized.

Copy link

commented Nov 19, 2018

option c is correct

@Zairas

This comment has been minimized.

Copy link

commented Dec 12, 2018

C

@NADAASHRF

This comment has been minimized.

Copy link

commented Dec 14, 2018

option C

@sps619

This comment has been minimized.

Copy link

commented Jan 14, 2019

I'm the future student, they are talking about!

@JoshMayberry

This comment has been minimized.

Copy link

commented Jan 23, 2019

STOP ANSWERING THE QUESTION HERE

@djalilo24

This comment has been minimized.

Copy link

commented Mar 23, 2019

C is correct
A espace (calculate price) false
B } (Arc closure) false

@AhmedMohammed11

This comment has been minimized.

Copy link

commented Mar 29, 2019

the correct answer is c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.