Compiling and Executing a C++ Program, Understanding Java Utilities, Executing Code in Python

¡Supera tus tareas y exámenes ahora con Quizwiz!

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; }


Conjuntos de estudio relacionados

Chemistry Flashcards: Chapter 1 - Section 2

View Set

1413 Exam 3 Practice Questions from Fundamentals of Nursing

View Set

McGraw Hill: Edit Title Later Gator

View Set

408 Exam 3 NCLEX Ch 7, 14, 36, 40

View Set

Unit 8: Social Psychology (Chapter 13)

View Set

Organizational Structure (Final)

View Set

ATI: Professional Behaviors in Nursing

View Set