Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
program generated by chatgpt
#4
create a qb64PE program to randomly generate a smiley face with a prompt to continue with a new face or quit the program.    

Code: (Select All)
' Random Smiley Face Program
' Author: OpenAI

Randomize Timer

Dim Smiley(3) As String * 5

Smiley(1) = ":)"
Smiley(2) = ":D"
Smiley(3) = ";)"

Do
    Print Smiley(Int(Rnd(1) * 3) + 1)
    Print "Press 'N' for a new smiley, or 'Q' to quit."
    Input choice$
Loop While UCase$(choice$) <> "Q"

End

(12-16-2022, 07:15 PM)Pete Wrote: Where's the rocket? All I see is a chess piece with a gas problem.

Pete

I'll give the AI a pass on the gas.
Reply


Messages In This Thread
program generated by chatgpt - by James D Jarvis - 12-16-2022, 07:06 PM
RE: program generated by chatgpt - by madscijr - 12-16-2022, 08:51 PM
RE: program generated by chatgpt - by madscijr - 12-16-2022, 09:40 PM
RE: program generated by chatgpt - by Pete - 12-16-2022, 07:15 PM
RE: program generated by chatgpt - by mnrvovrfc - 12-16-2022, 10:24 PM
RE: program generated by chatgpt - by James D Jarvis - 12-16-2022, 07:23 PM
RE: program generated by chatgpt - by mnrvovrfc - 12-17-2022, 04:39 PM
RE: program generated by chatgpt - by Pete - 12-16-2022, 07:38 PM
RE: program generated by chatgpt - by Pete - 12-16-2022, 08:05 PM
RE: program generated by chatgpt - by madscijr - 12-16-2022, 09:44 PM
RE: program generated by chatgpt - by mnrvovrfc - 12-16-2022, 10:46 PM
RE: program generated by chatgpt - by mnrvovrfc - 12-22-2022, 04:52 PM



Users browsing this thread: 4 Guest(s)