It can even write an entire application. Divide and design the entire scope of tasks into small sized classes or functions. Ask ChatGPT to generate code for each of them. Then finally put them together. Voila!