A compiler is often used when you want to test your code; that would often be your second step.
Answer:
Input, Processing, Storage, Output and Communication devices.
Explanation:
Input devices of computer are like Keyboard, Mouse, Scanner. Output devices of a computer are printers, monitors, and headphones.
There are two storages of computer one of them is REM, which can be lost if computer shutdown/closes. Data stays written on the disk until it's erased or until the storage medium fails (more on that later). An example of a communication device is the microphone.
Answer:
public class TextMessage
{
private String message;
private String sender;
private String receiver;
public TextMessage(String from, String to, String theMessage)
{
sender = from;
receiver = to;
message = theMessage;
}
public String toString()
{
return sender + " texted " + receiver + ": " + message;
}
}
first = input("Please input your first name: ")
last = input("Please input your last name: ")
print(last+", "+first)
I hope this helps!