🚀 Getting Started with iPseudo
Welcome to iPseudo! This guide will help you write your first pseudocode algorithm and understand the basics of the language.
📝 What is Pseudocode?
Pseudocode is a way to describe algorithms using a combination of natural language and programming concepts. It's designed to be:
- Easy to read - Like plain English
- Easy to write - No complex syntax rules
- Language independent - Focuses on logic, not implementation
- Perfect for learning - Understand concepts without language barriers
🎯 Your First Algorithm
Let's write a simple "Hello World" program in iPseudo:
pseudocode
Algorithm HelloWorld Print "Hello, World!" Print "Welcome to iPseudo!" Endalgorithm
Running Your Code:
- Open iPseudo IDE
- Type or paste the code in the editor
- Click the Run button (▶️)
- See the output in the console!
🔤 Basic Structure
Every iPseudo program follows this structure:
Algorithm ProgramName # Your code goes here Endalgorithm
Components:
Algorithm
- Marks the start of your programProgramName
- A descriptive name (no spaces, use CamelCase)# Comments
- Lines starting with # are commentsEndalgorithm
- Marks the end of your program
📊 Simple Variables
Variables store data that can change:
Algorithm SimpleVariables # Declare a variable Var name = "Alice" Var age = 25 Var score = 95.5 # Display the values Print "Name:", name Print "Age:", age Print "Score:", score Endalgorithm
🎯 Next Steps
Now that you've learned the basics, continue your journey: