Just for fun: "Expecting" function
Hello, coding aficionados! I've dabbled a bit in C during my academics and want to have some fun with writing a short function that sums up pregnancy. I'd then like to take that code snippet and slap it on a t-shirt. I'm not that great with C so that's why I'm here!
General concept
- Have a delay function signifying 39 weeks or end date
- IF ELSE statement for girl/boy/unknown which leads to (especially fun if multiples)
- Names if they are picked out then
- Having them in the return line
I'm thinking it doesn't need to be more than 10 lines, but I'm certainly open to interpretations. I will happily credit the user that knocks my socks off.