Compiling and Executing a C++ Program, Understanding Java Utilities, Executing Code in Python
Execute the program. There should be no syntax errors. Note the output of this program. Modify the program so it displays "I'm learning how to program in Python.". Execute the program. Modify the Python program so it prints two lines of output. Add a second output statement that displays "That's awesome!" Execute the program. Python
print("I'm learning how to program in Python. That's awesome!")
Execute the program. There should be no syntax errors. Modify the program so it displays "I'm learning how to program in Java.". Execute the program. Modify the JavaProgramming class so it prints two lines of output. Change the class name to Awesome. In Java, the file name must match the class name, so change the file name to Awesome.java. Add a second output statement that displays "That's awesome!". Execute the program. Java
public class Awesome { public static void main(String args[]) { System.out.println("I'm learning how to program in Java. That's awesome!"); } }
1. Execute the program by clicking the Run button at the bottom of the screen. There should be no syntax errors. 2. Modify the program so it displays I'm learning how to program in C++. Execute the program. 3. Modify the C++ Programming program so it prints two lines of output. Add a second output statement that displays That's awesome! Execute the program. c++
#include <iostream> using namespace std; int main() { cout << "I'm learning how to program in C++. That's awesome!" << endl; return 0; }