For the Friday the 13th challenge, I have some code that requires an import, but results in an unnamed function when golfed:
(import '[java.time LocalDate DayOfWeek])
(defn count-friday-13ths [year]
When I compact this, it looks like it may be unacceptable:
Missed a week and a half of class and need help with some assignments I missed for a computer science class.
Program 1 is Write a program which prints the average of 3 integer values. The 3 integer value should be entered by the user. The average should be expressed as a real number.
If someone ...
Suppose I have a list <string> with 1000 list items.
Public List<string> myitems= new List<string>();
I have thousand of items inside this list
"Jeep" ...... so and so
I want to print all these items 10 by 10 when clicks a button.
when I click button1 for print item...
Ruby, 11 bytes.
How it works:
Reboots the machine, clearing the clipboard on most systems.
I suppose the Windows version could call
`shutdown /r /t 0`
and accomplish the same thing.
You didn't say you needed your computer still functional after you did this ... remember, the ...
Yes, he actually did say that. "The program should not have any side-effects like restarting the system, closing programs, [...]" — Riker36 secs ago