chatGPT can write out a short skeleton program from a simple prompt, then w/ more prompting it can fill in the details of that program. Chances are maybe 70% that the code will actually run or only need to be fixed in a few places, depending on what ur trying to do.