// hello.nova - NovaLang Cross-Platform Example
// This same code runs on Web, Mobile, and Desktop!

print "🚀 Welcome to NovaLang!";
print "Write once, run everywhere!";

// Variables and functions
let name = "Developer";
function greet(person) {
    return "Hello, " + person + "! Welcome to the future of programming.";
}

let message = greet(name);
print message;

// Array operations
let platforms = ["Web", "Mobile", "Desktop", "Server"];
print "\n🌍 NovaLang supports:";

let i = 0;
while (i < len(platforms)) {
    print "  • " + platforms[i];
    i = i + 1;
}

// Math and logic
function calculate_efficiency() {
    let traditional_time = 11; // months
    let novalang_time = 1;     // month
    let diff = traditional_time - novalang_time;
    let efficiency = diff / traditional_time * 100;
    return efficiency;
}

let savings = calculate_efficiency();
print "\n📊 Development efficiency: " + savings + "% faster!";

print "\n✨ Ready to build amazing cross-platform apps!";
print "🎯 Run: nova create my-app";
