From: Shaik Hymad on
Hi To all,


I have data like

Sleep varible is sleeping time at night 10:00pm,8:00 pm so on....
wake varaible is wakeup at MORNING 6 AM,6:15 am so on......

they are in charcter format.

SLEEP WAKE
10 6
8 5.45
10 6.31
10 6
9.15 6.15
8.30 6
10 6
10 6
9 6


I want out put sleeptime=sleep-wake

output like

SLEEP WAKE sleeptime(hours)
10 6 8
8 5.45 9.45
10 6.31 8.31
10 6 8
9.15 6.15 9
8.30 6 9.30
10 6 8
10 6 8
9 6 9


Can you please let me know,how to do this?
Thanks,
Hymad Sk