Answer:
Landscape and Watercolour are the negative keywords.
1. image-editing software
software used to create technical drawings
2. PDF
software used to create a slide show
3. presentation software
software that organizes a collection of information
4. CAD
software used to enhance photographs
5. database software
Portable Document Format
Done
Can anyone help me figure out why my if statements are not executing properly? When the program executes with 7 as the value for num it should be executing the first line, but instead it goes to the third and displays, " a single digit."
public static String numberInfo(int num){
//TODO student
String numInfo;
if (num == 7) {
numInfo = "lucky sevens!";
}
if (num == 42) {
numInfo = "the answer to life the universe and everything.";
}
if (num < 10) {
numInfo = "a single digit.";
}
else {
numInfo = "a positive number.";
}
return numInfo;
}
Answer:
For the value of 7 of num, there are actually two if statements that are true and their contained code is executed.
So your line numInfo = "lucky sevens!"; is executed for sure, but then numInfo gets overwritten with by numInfo = "a single digit.";
To fix it, you have to decide how you want the program to behave, since technically, both numInfo's are equally correct.
- if you want to execute at most one if condition, chain them together like if (...) { ... } else if(...) { ... } etc.
- if you want to return multiple numInfo's, turn it into a collection where you add strings
What online game do you play on the internet and can I play with you on it?
Answer:
None
Explanation:
I don't find online games safe and they scare me soo..
Select the correct text in the passage.
Which action is a safety precaution for a camera?
Jeff loves to record nature with his prosumer camera. To charge his camera, he uses any available charge
opens it and fixes it. When not in use, he removes the batteries and stores them separately. To save the
when it is running. He uses his bare fingers to adjust the lens.
Answer: To charge his camera, he uses any available charge
Explanation: This is the answer as having a charge ready at any time can be helpful.
Answer:
When not in use, he removes the batteries and stores them separately
Explanation:
disadvantages of using social network site Executive Summery
Answer:
Advantages of Social Media Sites. Networking without border. Instant News and Information. Great marketing channel for Business. Awareness and Activism. Exchange of ideas and Collaboration. Stay in touch.
Disadvantages of Social Media Sites. Addiction. Mental Illness. Frauds & Scams. Misleading Information. Cyberbullying. Hacking.
Why should you keep lines of code short?
O It makes the code more readable by programmers,
O It makes the application run faster
O It makes the application more user-friendly for users.
It makes the application compile faster,
The programmers should keep lines of code short because It makes the code more readable by other programmers.
Short lines of CodeNormally, a shorter lines of code are more efficient than spreading the code over several lines
Also, If a programmer have more lines of code, there are more places for bugs to hide and finding them might be more of a hassle.
So, the fewer lines of code can achieve the same results or much better than many lines of code
Hence, the programmers should keep lines of code short because It makes the code more readable by other programmers.
Therefore, the Option A is correct.
Read more about Short lines of Code
brainly.com/question/20475581
1. You have a light in your living room that you can turn on or off from either (A) the living room, or (B) the kitchen.
does anyone know what gate this would be??
Answer:
Table lamps or floor lamps with an adjustable head are the ideal fixtures for providing task lighting in living rooms.
Explanation:
Given the number of people attending a pizza party, output the number of needed pizzas(not number of slices) and total cost. For the calculation, assume that people eat 2 slices on average and each pizza has 12 slices and costs $14.95.
Output each floating-point value with two digits after the decimal point, using the precision format string in the printf() function call.
Example: printf("$%.3lf\n", 12.94444); would print "$12.944" and a new line.
The challenge to getting all credit will be to ensure that the number of pizzas is rounded upwards so that there is enough pizza for the average consumption of 2 slices per person rather than the total number of slices needed. For example, 6 people need 1 pizza….what about 7 people?
Ex: If the input is:
4
the output is:
Pizzas: 1
Cost: $14.95
Hint: Use the ceil() function to round up the number of pizzas so that enough pizzas are ordered.
We have that the print command of the code is mathematically given as
printf("Pizzas: %d\n",numPizzas);
printf("Cost: $%.2f\n", cost);
return 0;
Programming
We take into consideration the the parameters
Assume that people eat 2 slices on average and each pizza has 12 slices and costs $14.95.Generally the Program that defines the result
int main() {
int Humans;
int numPizzas;
double cost;
scanf("%d",&Human);
numPizzas = ceil((2*people) / 12.0);
cost = numPizzas * 14.95;
printf("Pizzas: %d\n",numPizzas);
printf("Cost: $%.2f\n", cost);
return 0;
For more information on Programming visit
https://brainly.com/question/13940523
Do radios count as computers?
Answer:
No, while a computer can be a radio, a radio cant be a computer
Explanation:
Answer:
They are both considered channels that broadcast forms of media and/or medium through waves of frequency, But No they don't count as computers
Explanation: