打印"Hello World!" C 1234567#include <stdio.h>int main(){ printf("Hello World!\n"); return 0;} C++ 12345678#include <iostream>using namespace std;int main(){ cout << "Hello World!" << endl; return 0;} Java 12345public class Main { public static void main(String[] args) { System.out.println("Hello World!"); }} Python 1print("Hello World!") PHP 123<?phpecho "Hello World!";?> C# 12345678910using System;namespace HelloWorld{ class HelloWorld { static void Main(string[] args){ Console.WriteLine("Hello World!"); } }} 文章作者: Los-kos文章链接: https://www.los-kos.cn/posts/hello-world/版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Los-Kos!Testing上一篇test 评论