*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *
Hint: You will need to create a variable that controls how far the * is from edge of the console. That variable should change size each iteration through the outer loop!
public class JavaApplication82 {
public static void main(String[] args) {
for (int i = 1; i <= 9; i++){
for (int w = 0; w < i; w++){
System.out.print("*");
}
System.out.println("");
}
}
}
This works for me.
print("These are the supplies in the list:\n", supplies)
[‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
These are the supplies in the list:
[‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
These are the supplies in the list: [‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
These are the supplies in the list:\n
[‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
Answer:
These are the supplies in the list:
[‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
Explanation:
The line return (\n) character will be in the output (so there will be a change of line), but it will NOT be visible as it would have been interpreted as a special character.
So the output will be on 2 different lines, with no \n visible.
If the command would have been: print('These are the supplies in the list:\n', supplies), with single quotes (') instead of double quotes (") then then \n would have been printed but not interpreted as a special character. At least in most computer language. Since we don't know of which language the question refers to, we can't be sure at 100%.
Answer:
[‘pencil’, ‘notebook’, ‘backpack’, ‘pen’, ‘calculator’]
Explanation:
c. 10 pt Comic Sans
b. 12 pt Times New Roman
d. Any of these
The statement "RAW files can be compressed without losing information" is known to be true.
RAW files can be made smaller without getting rid of any important stuff, but it depends on how they are compressed.
RAW files are pictures that have not been edited or compressed and come directly from the camera's sensor. They collect all the information from the sensors, like color, brightness, and other details.
Therefore, These files are easier to edit than compressed formats like JPEG because they keep more information.
Read more about RAW files here:
#SPJ6