Question: who wrote the song cake by the ocean
Answer: Songwriter ( s ) Robin Fredriksson Mattias Larsson Joe Jonas Justin Tranter