基本语法 考验字符串输出与换行
#include <bits/stdc++.h>
using namespace std ;
signed main()
{
cout << "zhe" << endl ;
cout << "shi" << endl ;
cout << "yi" << endl ;
cout << "dao" << endl ;
cout << "qian" << endl ;
cout << "dao" << endl ;
cout << "ti" << endl ;
}
import java.util.Scanner;
public class Main{
public static void main(String[] args){
System.out.println("zhe");
System.out.println("shi");
System.out.println("yi");
System.out.println("dao");
System.out.println("qian");
System.out.println("dao");
System.out.println("ti");
}
}
print('zhe')
print('shi')
print('yi')
print('dao')
print('qian')
print('dao')
print('ti')