Answer:
hope this helped
Explanation:
Computer technology has helped the world to grow and evolve quickly. By performing tasks quickly, computers make daily activities more convenient. They give people access to a wide array of information and can reach even the most remote locations on the planet.
Answer:
public class Main
{
public static void main(String[] args) {
char greekLetter = '^';
System.out.println(greekLetter);
}
}
Explanation:
Create a char variable called greekLetter and set it to the ^
Print the greekLetter to the screen
COMPLETE QUESTION
I. public class Test {
public static void main(String[] args){
System.out.println("Welcome to Java!");
}
}
II. public class Test { public static void main(String[] args) {System.out.println("Welcome to Java!");}}
Answer:
Both codes will compile and run and display Welcome to Java, but the code in II has a better style than I
Explanation:
When written codes, paying attention to proper coding styles and efficient memory management enables us to create programs that are highly efficient, coding styles refer to proper indentions and avoiding too lenghty lines of code (as is in code I), adding approprite comments etc.
Plenty of space in the palm rest
Answer:
Explanation:
In Javascript, you can accept an input value by using the prompt() function and saving the input into a variable. In the following lines of code, I have declared the three variables at the beginning and then prompted the user to enter a value for each and saved the values in the correct variables. In Javascript length is a keyword so I used len instead.
let base, height, len;
base = prompt("Enter Base value: ");
height = prompt("Enter Height value: ");
len = prompt("Enter Length value: ");