1 solutions

  • 0
    @ 2024-12-4 19:37:02

    C :

    main() 
    { 
        printf("**************************\n         Very    Good!\n**************************"); 
        return 0; 
    }
    

    C++ :

    #include<iostream>
    using namespace std;
    int main(){
    cout<<"**************************"<<endl;
    cout<<"         Very    Good!"<<endl;
    cout<<"**************************"<<endl;
      return 0;
    }
    

    Pascal :

    begin
      writeln('**************************');
      writeln('         Very    Good!');
      writeln('**************************');
    end.
    

    Java :

    
    
    public class Main {
       public static void main(String[] args) {
    	 String str = "**************************\n" + 
    "         Very    Good!\n"+
    "**************************\n" ;
    	 System.out.println(str);
       }
    }
    
    

    Python :

    # coding=utf-8
    print('''**************************
             Very    Good!
    **************************''')
    
    • 1

    C语言程序设计教程(第三版)课后习题1.5

    Information

    ID
    2189
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By