Computers and Technology
19.06.2023 02:19
287
479
10
Solved by an expert

Tiling is when a browser loads a background image and then repeats the image in

Tiling is when a browser loads a background image and then repeats the image in both the vertical and horizontal directions until the entire background is filled.
true
false
Show Answers
DEUEIW
DEUEIW
4,5(67 marks)

True

Explanation:

Tiling is process whereby an image that is been loaded by the browser continues to repeat/reload itself in various position on the page so that is fills up the whole page. the background - repeat : type function is used to perform this function on a back ground image.

and the specified value on the background image to be tilled is applied to all the repeated images both in horizontal and vertical positions.

Tiling is a CSS background repeat property in the sense that you can use different functions such a REPEAT X, REPEAT Y, REPEAT , SPACE and so on to determine how the image would be repeated. to achieve tiling, the image is set up using the SPACE function.

jerikkaharris7057
jerikkaharris7057
4,6(7 marks)

see explaination

Explanation:

include <iostream>

#include <string>

using namespace std;

using namespace std;

const int SMALL = 1;

const int MEDIUM = 2;

const int LARGE = 3;

const int DEEPDISH = 1;

const int HANDTOSSED = 2;

const int PAN = 3;

class Pizza

{

private:

int type;

int size;

bool cheeseToppings;

bool pepperoniToppings;

public:

Pizza();

int getType();

int getSize();

bool getCheeze();

bool getPepperoni();

void setType(int t);

void setSize(int s);

void setCheese(bool choice);

void setPepperoni(bool choice);

void outputDescription();

double computePrice();

};

Pizza::Pizza()

{

type = DEEPDISH;

size = SMALL;

cheeseToppings = pepperoniToppings = false;

}

int Pizza::getType()

{

return type;

}

int Pizza::getSize()

{

return size;

}

bool Pizza::getCheeze()

{

return cheeseToppings;

}

bool Pizza::getPepperoni()

{

return pepperoniToppings;

}

void Pizza::setType(int t)

{

type = t;

}

void Pizza::setSize(int s)

{

size = s;

}

void Pizza::setCheese(bool choice)

{

cheeseToppings = choice;

}

void Pizza::setPepperoni(bool choice)

{

pepperoniToppings = choice;

}

void Pizza::outputDescription()

{

switch (size)

{

case SMALL:

cout << "Small "; break;

case MEDIUM:

cout << "Medium "; break;

case LARGE:

cout << "Large "; break;

default:

cout << "Unknown sized ";

}

switch (type)

{

case DEEPDISH:

cout << "deepdish "; break;

case HANDTOSSED:

cout << "hand tossed "; break;

case PAN:

cout << "pan "; break;

default:

cout << "unknown type ";

}

cout << "pizza";

}

double Pizza::computePrice()

{

double pizzaCost = 0.0;

switch (size)

{

case SMALL:

pizzaCost += 10;

break;

case MEDIUM:

pizzaCost += 14;

break;

case LARGE:

pizzaCost += 17;

break;

}

if (cheeseToppings)

pizzaCost += 2.0;

if (pepperoniToppings)

pizzaCost += 2.0;

return pizzaCost;

}

int main()

{

char pizzaType, pizzaSize, pizzaTopping;

int type = 0, size = 0;

cout << "What size pizza would you like (S/M/L): ";

cin >> pizzaSize;

cin.clear();

switch(pizzaSize)

{

case 'S': case 's':

size = SMALL; break;

case 'M': case 'm':

size = MEDIUM; break;

case 'L': case 'l':

size = LARGE; break;

}

cout << "What type pizza would you like ((D)eepdish/(H)and-tossed/(P)an): ";

cin >> pizzaType;

cin.clear();

switch(pizzaType)

{

case 'D': case 'd':

type = DEEPDISH; break;

case 'H': case 'h':

type = HANDTOSSED; break;

case 'P': case 'p':

type = PAN; break;

}

Pizza cheesy;

cheesy.setSize(size);

cheesy.setType(type);

cout << "Would you like cheese topping (y/n)? ";

cin >> pizzaTopping;

cin.clear();

if (pizzaTopping == 'Y' || pizzaTopping == 'y')

cheesy.setCheese(true);

cout << "Would you like pepperoni topping (y/n)? ";

cin >> pizzaTopping;

cin.clear();

if (pizzaTopping == 'Y' || pizzaTopping == 'y')

cheesy.setPepperoni(true);

cout << endl

<< "Your order: ";

cheesy.outputDescription();

cout << endl;

cout << "Price: $" << cheesy.computePrice() << endl;

return 0;

}

/*

output:

What size pizza would you like (S/M/L): L

What type pizza would you like ((D)eepdish/(H)and-tossed/(P)an): P

Would you like cheese topping (y/n)? y

Would you like pepperoni topping (y/n)? y

Your order: Large pan pizza

Price: $21

*/

Popular Questions about the subject: Computers and Technology

QUESTION 4 of 10: What term refers to the basic characteristics...
Computers and Technology
22.03.2021 19:33
Create a program that finds (n+1)! -factorial- of an integer...
Computers and Technology
27.11.2020 23:04
Alice would like to send a message to Bob securely and wishes...
Computers and Technology
31.10.2020 06:36
What is the proper research needed to be address a certain situation...
Computers and Technology
02.11.2020 22:30
Question 9 (3 points) When you add a row, where will it appear?...
Computers and Technology
11.06.2020 05:30
With the aid of a diagram explain how a computer is connected...
Computers and Technology
21.08.2021 19:05
What is the proper research needed to be addressed that makes...
Computers and Technology
03.01.2021 09:01
The exterior lights consist of several components except one...
Computers and Technology
16.12.2021 05:56
Does technology shape society or does society shape technology?...
Computers and Technology
15.03.2020 09:34

New questions by subject

Why does it take audacity to vehemently deny that you told a...
English
17.11.2020 20:51
After the battle at bunker hill, knox moved a(n) force more...
Social Studies
07.03.2022 12:39
Which of the following has contributed to a recent banking crisis?...
Social Studies
05.09.2020 13:03
Di si los signos de pontuacion resaltados estan utilizados de...
Arts
24.05.2022 14:23
What s the parabola in vertex for for (-5,0) and has a vertex...
Mathematics
06.11.2020 00:35
When driving in fog or snow you should use your high beams true...
Arts
07.12.2021 08:10
#
#
#
#
# #

We expand our knowledge with many expert answers