🚀 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:
  1. Open iPseudo IDE
  2. Type or paste the code in the editor
  3. Click the Run button (▶️)
  4. 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 program
  • ProgramName - A descriptive name (no spaces, use CamelCase)
  • # Comments - Lines starting with # are comments
  • Endalgorithm - 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: