11. Which one of the following buttons is used for paragraph alignment?

11. Which One Of The Following Buttons Is Used For Paragraph Alignment?

Answers

Answer 1

Answer:

C

Explanation:

Option A is used for line spacing.

Option B is used for right indent.

Option C is used for right paragraph alignment.

Option D is used for bullet points.

The button used for paragraph alignment would be option C.


Related Questions

Implement the function:

string get_ap_terms(int a, int d, size_t n);

which returns a string containing the first n terms of the arithmetic progression (AP) as a sequence of comma-separated values.

Answers

Answer:

This is written in C++

Check comments for explanations

Program starts here

#include<iostream>

#include<string>

using namespace std;

//The function get_ap_terms begins here

string get_ap_terms(int a, int d, int size_tn)

{  

// This line initializes the expected string to empty string

string result = "";

//The for iteration loops through the number of terms the function is expected to return

for(int i = 1; i<= size_tn;i++)

{

//This line checks if the loop is less than the number of  terms    

if(i < size_tn)

  {

//This string gets the current term of the progression

   result+=to_string(a)+ ", ";

//This line calculates the next term

   a+=d;  

  }

  else

  {

//This line calculates the last term

   result+=to_string(a);

  }

}

//This line returns the string containing the first n terms of the arithmetic progression

return result;

}

//The main function starts here

int main()

{

//This line declares the first term (a), the common difference (d) and the number of terms (size_tn)

int a,d,size_tn;

//This line prompts the user for the first term

cout<<"First Term: ";

//This line gets the first term

cin>>a;

//This line prompts the user for the common difference

cout<<"Common Difference: ";

//This line gets the common difference

cin>>d;

//This line prompts the user for number of terms

cout<<"Number of Terms: ";

//This line gets the number of terms

cin>>size_tn;

//This line calls the function to print the string containing the first n terms

cout<<get_ap_terms(a, d, size_tn);

return 0;

}

//Program ends here

The is_positive function should return True if the number received is positive, otherwise it returns None. Can you fill in the gaps to make that happen?

Answers

Question:

The is_positive function should return True if the number received is positive, otherwise it returns None. Can you fill in the gaps to make that happen?

def is_positive(number):

       if  _____ :

           return _____

Answer:

def is_positive(number):

   if (number > 0):

       return True

  else:

       return "None"

---------------------------------------------------------------------------------

Code Test and Sample Output:

print(is_positive(6))

>> True

print(is_positive(-7))

>> None

----------------------------------------------------------------------------------

Explanation:

The code above has been written in Python.

Now, let's explain each of the lines of the code;

Line 1: defines a function called is_positive which takes in a parameter number. i.e

def is_positive(number):

Line 2: checks if the number, supplied as parameter to the function, is positive. A number is positive if it is greater than zero. i.e

if (number > 0):

Line 3: returns a boolean value True if the number is positive. i.e

return True

Line 4: defines the beginning of the else block that is executed if the number is not positive. i.e

else:

Line 5: returns a string value "None" if the number is not positive. i.e

return "None"

All of these put together gives;

===============================

def is_positive(number):

   if (number > 0):

       return True

   else:

       return "None"

================================

An example test of the code has also been given where the function was been called with an argument value of 6 and -7. The results were True and None respectively. i.e

print(is_positive(6))   = True

print(is_positive(-7))  = None

Following are the python program to check input number is positive or negative:

Program:

def is_positive(n):#defining the method is_positive that takes one variable in parameter

   if (n > 0):#defining if block that check input number is positive

       return True#return boolean value that is True

   else:#else block

      return "None"#return string value

n=int(input("Enter number: "))#defining n variable that input a number

print(is_positive(n))#using print method that calls and prints method return value

Output:

please find the attached file.

Program Explanation:

Defining the method "is_positive" that takes one variable "n" in the parameter.Inside the method, if conditional block is defined that checks the input number is positive, if it's true, it will return a boolean value that is "True". Otherwise, it will go to the else block, where it will return a string value that is "None".Outside the method, the "n" variable is declared to be an input number.After the input value, a print method is used that calls the "is_positive" method and prints its return value.

Find out more about the method here:

brainly.com/question/5082157

Other Questions
The _______ Reformation started when Martin Luther published writings that attacked the Catholic Church for abuses and policies related to salvation.Question 12 options:CalvinProtestantLutheranMuslim Sarah dreams of going to medical school and giving quality medical care to people who live in countries in crisis. Which of the following is an organization she might want to work for? Peace Corps. World Health Organization. United Nations. Alliance for small island states palabras de la misma clase de palabras que feliz. 21%For all values of x(2)f(x) = (x + 2)2 and g(x) = 3(x - 1)a) Find gf(x), giving your answer in the form a(x2 + bx + c)where a, b and care integers.(x +x +b) Find g '(12)(2) Combine the following sentences using appropriate conjunctions to have just one complex sentence.a) Choosing between models is a decision. c) The decision is for the consumer. b) The decision is personal. d) The model types are desktop and laptop. i need help with this i dont understand at all. find the 1st, 2nd, 3rd, 4th and 10th nTh term rule is n+5 (Circle the correct option.) Le repas . a.vegetables b. meal c. food les aliments a.food items b. fruits c. junk food les boissions. a.drinks b. water c. milk a.les fruits . a.vegetables b. fruits c. healthy food le gateau a.pastry b. cake c. brownie Identifying the values a, b, and c is the first step in using the Quadratic Formula to find solution(s) to a quadratic equation. What are the values a, b, and c in the following quadratic equation? 3x2 5x + 9 = 0 a = 5, b = 9, c = 0 a = 3, b = 5, c = 9 a = 3, b = 5, c = 9 a = 5, b = 9, c = 0 How is the growth of land plants proof that there is carbon in the atmosphere? How does carbon exist in the atmosphere, biosphere, and geosphere all at the same time? (Site 1 ) What is the sign of the product (4)(2)(3)(6)? (5 points) Select one: a. Positive, because the products (4)(2) and (3)(6) are negative and the product of two negative numbers is positive b. Positive, because the products (4)(2) and (3)(6) are positive and the product of two positive numbers is positive c. Negative, because the products (4)(2) and (3)(6) are negative and the product of two negative numbers is negative d. Negative, because the products (4)(2) and (3)(6) are positive and the product of two positive numbers is negative A sample of 26 offshore oil workers took part in a simulated escape exercise, and their escape time (unit: second) were observed. The sample mean and sample standard deviation are 370.69 and 24.36, respectively. Suppose the investigators had believed a priori that true average escape time would be at most 6 minutes. Does the data contradict this prior belief? Assuming normality, test the appropriate hypotheses using the rejection region method at a significance level of 0.05. An archer shoots an arrow toward a 300-g target that is sliding in her direction at a speed of 2.10 m/s on a smooth, slippery surface. The 22.5-g arrow is shot with a speed of 37.5 m/s and passes through the target, which is stopped by the impact. What is the speed of the arrow after passing through the target Read this writing prompt. Write an argumentative essay about whether kids should be allowed to bring cell phones to school. Based on the prompt, which claim is the strongest? Cell phones are helpful tools that allow people to easily access information and stay organized. In the latest survey, 78 percent of kids asked said that they believed they should be allowed to bring cell phones to school. Schools should not allow kids to bring cell phones because they are too much of a distraction. Not every kid can have a cell phone because they are expensive and many kids do not have jobs. Someone pls help will mark as brainiest Which answer below correctly identifies the type of change and the explanation for the boiling of water?o physical change because even though the change caused the temperature of the water toincrease, the water's physical properties remained exactly the sameo physical change because even though gas formation was observed, the water was undergoing astate change, which means that its original properties are preservedchemical change because gas formation was observed, which indicated that the water wastransformed into a different substanceO chemical change because a temperature change was observed, which indicated that the waterwas transformed into a different substance There is over half of water in that glass. There is almost half of water in that glass. Are these 2 sentences the same? what group was formed in the inner cities to protect against police violence? A. Black cats B. Black panthers C. Black tigers D. Black jaguars You previously learned about the Mandate of Heaven. Think about the reforms and actions taken by the Han government that you learned about in this lesson. What Han actions do you think strengthened their claim on the Mandate of Heaven? A portfolio consists of $15,200 in Stock M and $23,400 invested in Stock N. The expected return on these stocks is 8.90 percent and 12.50 percent, respectively. What is the expected return on the portfolio Why does e-commerce save businesses money?OA. Because warehouses can stock much more inventory than stores.B. Because they charge more for online purchases.C. Because more people shop online than in stores.D. Because they lower the quality of the product for onlinepurchases.