+ 5

Quiz Time

Create a program saying "hi" in code playground which runs only one time in a day. i.e: the first run can produce a output hi and the next forecomming runs must show "u have used your quota" and this 👆 should be the output till the end of the day.

26th May 2017, 10:11 AM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
16 odpowiedzi
+ 6
not sure if it would work on older browser, but there it is: https://code.sololearn.com/WWxUtai8z22j/?ref=app
26th May 2017, 12:34 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 8
I can't
26th May 2017, 12:03 PM
Ekansh
26th May 2017, 12:03 PM
Ekansh
+ 4
I will but after 5 hours cause I m going to waste my time going to some dumb tution
26th May 2017, 10:13 AM
_Retr0/-
_Retr0/- - avatar
+ 4
@retro take your tym🤗
26th May 2017, 10:14 AM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
+ 3
I have no other choice 😐
26th May 2017, 10:15 AM
_Retr0/-
_Retr0/- - avatar
+ 3
@ sareena i just thought of this question but really dont know how to do it😅 and i dont know anythink about server linking and bla bla things too😅😅
26th May 2017, 11:54 AM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
+ 3
yeah thats the exact reason i posted it😅 anyone who solves this could give us more knowlege and idea also possibilites😊
26th May 2017, 12:01 PM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
+ 3
Nikolay u really rocked the floor sir.
26th May 2017, 12:49 PM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
+ 3
actually i was trying this program from yestrday😅 but u did it so quickly. u r really great!!
26th May 2017, 12:50 PM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
+ 3
niklov's answer wont work on app try it in pc's
26th May 2017, 12:51 PM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar
+ 2
Okay I am home I will do it now
26th May 2017, 2:53 PM
_Retr0/-
_Retr0/- - avatar
+ 2
wait that's impossible task @U L Know Me soon at least not possible with HTML CSS and JavaScript because each time the code is run the program would be executed again so I think an external database ( or whatever it is)would be needed to accomplish this task
26th May 2017, 3:19 PM
_Retr0/-
_Retr0/- - avatar
+ 2
@ Retro u are right but one of my friend said in java it could be done using some server stuff called json like that😅 but i m not sure with it
26th May 2017, 5:31 PM
U L Knw Me soon😉😋
U L Knw Me soon😉😋 - avatar