You can use Notepad (Windows) or TextEdit (Mac) by default if you don't want to install a new program. While not strictly necessary, writing a one- or two-sentence line at the top of the document will make clear from the beginning the intent of the program:  This program will request a greeting from the user. If the greeting matches a specific response, the response will be delivered; if not, a rejection will be delivered. Your first command—that is, the first thing your program should do upon running—should be the first line:  print greeting 	"Hello stranger!" Place a space between the last line and the next one by pressing ↵ Enter, then create the next line of code. In this example, the user should prompt the next line of dialogue:  print prompt 	press "Enter" to continue <user presses "Enter"> In this example, the user will be prompted for a greeting:  print call-to-action 	"How are you?" Again, after pressing ↵ Enter in this example, the user should see a list of possible responses:  display possible responses  	"1. Fine." 	"2. Great!" 	"3. Not good." This is where the program will ask the user to enter a response:  print request for input  	"Enter the number that best describes you:" Since there are multiple responses the user can select, you'll want to add multiple results based on their selected response:  if "1" 	print response 		"Dandy!"  if "2" 	print response 		"Fantastic!"  if "3" 	print response 		"Lighten up, buttercup!" In the event that the user incorrectly chooses a response, you can have an error message ready:  if input isn't recognized 	print response 		"You don't follow instructions very well, do you?" Go through your document and add or flesh out any details to ensure that both you and anyone reading the document will understand its meaning. As per this method's example, your final pseudocode document should look something like this:  This program will request a greeting from the user. If the greeting matches a specific response, the response will be delivered; if not, a rejection will be delivered.  print greeting 	"Hello stranger!"  print prompt 	press "Enter" to continue <user presses "Enter">  print call-to-action 	"How are you today?"  display possible responses  	"1. Fine." 	"2. Great!" 	"3. Not good."  print request for input  	"Enter the number that best describes you:"  if "1" 	print response 		"Dandy!" if "2" 	print response 		"Fantastic!" if "3" 	print response 		"Lighten up, buttercup!"  if input isn't recognized 	print response 		"You don't follow instructions very well, do you?" Press Ctrl+S (Windows) or ⌘ Command+S (Mac), enter a name, and click Save to do so.
एक प्लेन-टेक्स्ट एडिटर ओपन करें: अपने प्रोग्राम को डिफ़ाइन करें: ओपनिंग सीक्वेंस लिखें: अगली लाइन एड करें: कॉल टू एक्शन एड करें: यूजर के सामने, रिस्पोंस की एक लिस्ट दिखाना: यूजर से इनपुट देने की माँग करना: यूजर के इनपुट के लिए "if" कमांड्स तैयार करना: एक एरर (error) मैसेज एड करें: प्रोग्राम के और दूसरे कम्पोनेंट्स एड करें: आपके डॉक्यूमेंट को सेव करें: