How to make funny questioner game

@echo off
Color 0
Echo
Echo
Echo
Echo Welcome to funny questioner game
Echo 1) start
Echo 2) exit
Set/p type=
If%type%==1start 1
If%type%==2exit 1
:start 
Cls
Color 0b
Echo why does the hen lay egg?
Echo
Cls
Echo because thy just love boiled egg
Echo 
CLS
Pause
Color 0a
Echo why did the dinosaurs lay egg?
Echo 
CLS
Echo because the were afraid that if the man eat it .
(If you want then you can add more)
: exit
CLS 
Echo goodbye
Pause
@echo off
Color 0
Echo
Echo
Echo
Echo Welcome to funny questioner game
Echo 1) start
Echo 2) exit
Set/p type=
If%type%==1start 1
If%type%==2exit 1
:start 
Cls
Color 0b
Echo why does the hen lay egg?
Echo
Cls
Echo because thy just love boiled egg
Echo 
CLS
Pause
Color 0a
Echo why did the dinosaurs lay egg?
Echo 
CLS
Echo because the were afraid that if the man eat it .
(If you want then you can add more)
: exit
CLS 
Echo goodbye
Pauseh

Recommended Answers

This would probably be better for Shell Scripting Snippets. Also, some code formatting would help.

Jump to Post

All 3 Replies

What language is this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.