One guideline for writing content for the web is to use ____ space to visually separate sections of content.
White space
Answer:
D. Fill handle
Explanation:
Required
Which can be used to copy from cell to cell
(a); Means the current cell being selected in the spreadsheet program
(b): Used to fit all columns in the spreadsheet program. Usually, the columns are fitted based on their width.
(c): The vertical and horizontal lines that separate cells.
(d): This is used to copy from one cell to another, especially adjacent cells.
Answer:
def statement(numbers):
deposits = []
withdrawals = []
for number in numbers:
if number > 0:
deposits.append(number)
if number < 0:
withdrawals.append(number)
return [sum(deposits), sum(withdrawals)]
Explanation:
*The code is in Python.
Create a function called statement that takes numbers as a parameter
Inside the function, create two empty lists called deposits and withdrawals. Create a for loop that iterates through the numbers. Inside the loop, if a number is greater than 0, add it to the deposits. If a number is smaller than 0, add it to the withdrawals. When the loop is done, return the sum of the deposits and the sum of the withdrawals (use sum function to sum the numbers in the lists)
Answer:
Here is the C++ program:
#include <iostream> //to use input output functions
using namespace std; //to access objects like cin cout
int main(){// start of main function
int temp; //declare a variable to store value for temperature
cout<<"Enter temperature: "; //prompts user to enter temperature
cin>>temp; //reads value of temp from user
if(temp>80) //if temperature is greater than 80 degrees
{ cout<<"Go swimming"; } //displays Go swimming
else if(temp<=80&&temp>=60) //if temperature is between 60 and 80
{ cout<<"Go biking"; } //displays Go biking
else //if temperature is less than 60 degress
cout<<"Go for a walk"; } //displays Go for a walk
Explanation:
The program prompts the user to enter value of temperature. It stores the value of temperature in temp variable. Then the first if condition checks if the value of temp is greater than 80. If it evaluates to true, then the print statement inside the body of this if statement executes which is "Go swimming". If this condition evaluates to false then program moves to the else if condition which checks if the value of temp is between 60 and 80. There is a logical operator AND (&&) is used between both expressions to check temperature between two ranges. If it evaluates to true, then the print statement inside the body of this if statement executes which is "Go biking". If this condition evaluates to false then program moves to the else part which has a print statement that displays "Go for a walk" on output screen. The screenshot of program along with its output is attached.