/tv/ here
How do you convert seconds to microwave time?
let's say you have 60 seconds that would be 00:60 but if you have 61 seconds then it would be 01:01
What's the wizardry /g/?
Stale pasta
Same way you convert angles in minutes and seconds
>>57418450#!/usr/bin/awk -f
{
$0 = strftime("%M %S", $0);
if($1!=0 && $2==0) {$1--; $2=60}
printf "%02d:%02d\n", $1, $2
}
>>57418450if(number < 0.61)
{
System.out.print(number);
}
else
{
System.out.print(1 + number)
}
computersciencemajor.jpg
(define (seconds-to-microwave-time seconds)
(define (inner minutes seconds)
(if (seconds <= 60)
(begin (display minutes) (display ':) (display seconds))
(inner (+ minutes 1) (- seconds 60))))
(inner 0 seconds))
>>57420983