Programación Hola mundo

1 Scrach 
2 Javascript
                      
3 Java
  1. public class HolaMundo {
  2.  
  3. public static void main(String[] args) {
  4. System.out.println("Hola Mundo");
  5. }
  6.  
  7. }

4 PHP
<html>
 <head>
  <title>Prueba de PHP</title>
 </head>
 <body>
 <?php echo '<p>Hola Mundo</p>'?> </body>
</html>

5. HTML
  1. <!doctype html>
  2. <meta charset="uft-8"/>
  3. <title>Hola Mundo en HTML</title>
  4. </head>
  5. <h1>Hola Mundo</h1>
  6. Mi primera página en HTML.
  7. </body>
  8. </html>

6. C
#include <stdio.h>

int main()
{
        printf("Hola mundo");
        return 0;
}

7. C++
#include <iostream>

using namespace std;

int main() {

    cout << "Hola Mundo" << endl;

    return 0;

}
8. C#
using System;

namespace HelloNameSpace

{

      public class HelloWorld

      {

            static void Main(string[] args)

            {

                  Console.WriteLine("Hola Mundo!");

            }

      }

}

9. Python 
print "Hola Mundo"

10. Ruby 
 print "Hola Mundo"

Entradas populares de este blog

scratch 1 EJERCICIOS BÁSICOS DE OPERACIONES

scratch 3 EJERCICIOS DE CONTROL DE FLUJO