1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
valina [46]
3 years ago
10

Why should you list more than one font if you are formatting some text using CSS?

Computers and Technology
1 answer:
IRISSAK [1]3 years ago
4 0

Answer:

Because if one font is not available, it will fall back on the ones that are. By providing several, you have a higher level of control over what happens to the site if a browser does not support one of the fonts. The alternative is the browser deciding to use it's own default font as a fallback. This can result in the webpage looking weird.

You might be interested in
Which is a credit card balance A. The amount of interest you must pay the credit card company B. The required minimum payment to
yKpoI14uk [10]
The best answer among the following choices would be the fourth option D).
7 0
3 years ago
What is a geam in the ggplot2 system?
riadik2000 [5.3K]

Answer:

a) a plotting object like point, line, or other shape

Explanation:

A geom in the ggplot2 system is "a plotting object like point, line, or other shape."

A Geom is used in formulating different layouts, shapes, or forms of a ggplot2 such as bar charts, scatterplots, and line diagrams.

For example some different types of Geom can be represented as geom_bar(), geom_point(), geom_line() etc.

3 0
3 years ago
Your traffic light changes to yellow as you approach an intersection. In most cases, what action should you take?
mamaluj [8]
Make every reasonable effort to stop.
6 0
4 years ago
Read 2 more answers
Iii. Write the pseudocode for a program to take two integer inputs and the operator from user and
Katen [24]

Answer:

The pseudocode is as follows:

Input num1, num2

input operator

print num1 + num2

print num1 - num2

print num1 * num2

if num2 != 0

    print num1 / num2

else

    print "Cannot divide by 0"

Explanation:

This gets input for both numbers

Input num1, num2

This gets input for the operator

input operator

This prints the sum

print num1 + num2

This prints the difference

print num1 - num2

This prints the product

print num1 * num2

This prints the division if the divisor is not 0

<em>if num2 != 0</em>

<em>     print num1 / num2</em>

<em>else</em>

<em>     print "Cannot divide by 0"</em>

<em />

6 0
3 years ago
Write a program that asks the user for two file names. The first file will be opened for input and the second file will be opene
Wewaii [24]

Answer:

#include <iostream>

#include <fstream>

#include <string>

using namespace std;

int main()

{

//First we declare string variables to store file names for input and output

   string inputName;

   string outputName;

   string sentence;

// Then declare char variable to get current char

   char ch;

//The following section will prompt theuser to enter the file names and read

   cout << "Enter input file name:\n";

   cin >> inputName;

   cout << "Enter output file name:\n";

   cin >> outputName;

//ignore newline character left inside keyboard buffer

   cin.ignore();

//Next we define the input and output files to be opened

   ifstream inputFile(inputName);

   ofstream outputFile(outputName);

   if(!inputFile && !outputFile){

       cout << "Error while opening the files!\n";

       cout << "Please try again!\n";

       //end program immediately

       return 0;

   }

//Using this loop to get lines one by one, delimited by '.'

   while(getline(inputFile, sentence, '.')){

       //bool variable to store if we have already

       //printed capital first letter

       bool alreadyCapitalized = false;

       //Using of for loop on all characters of sentence

       for(int counter = 0; counter < sentence.length(); counter++){

           //if not alphabetical character,

           //so whitespace or newline, print as is

           if(!isalpha(sentence[counter]))

               outputFile << sentence[counter];

       //Condition statement for if it is alphabetical and no capitalization has been done, print it as uppercase

           if(!alreadyCapitalized && isalpha(sentence[counter])){

               outputFile << (char)toupper(sentence[counter]);

               alreadyCapitalized = true;

           }

           //otherwise print this condition as lowercase

           else if(alreadyCapitalized)

               outputFile << (char)tolower(sentence[counter]);

       }

       //Printing of the output sentence with period in the end

       outputFile << ".";

   }

   //Closing the files

   inputFile.close();

   outputFile.close();

   return 0;

}

5 0
3 years ago
Other questions:
  • What are three methods of sustainable farming and describe each.
    9·1 answer
  • Calculate the cash used to retire debt for each of the six months. Since the company can't pay down more debt than there is cash
    12·1 answer
  • How are Action Buttons different than hyperlinks?
    8·1 answer
  • Administrators who are wary of using the same tools that attackers use should remember that a tool that can help close an open o
    6·1 answer
  • How can an instance variable be used in a class? Explain your answer. (java)
    10·1 answer
  • Question #4
    8·1 answer
  • which of these tools stick to the edge of an image, thus making it easy to select the shape of an image
    6·1 answer
  • Robot is an example of which generation computer?​
    7·1 answer
  • What is the output of the following?
    7·1 answer
  • Html specifications that are not included when newer specifications are released or are not included in the xhtml specification
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!