Answer:
See explaination
Explanation:
public class YearToAnimal {
static void yearToAnimalZodiac(int year){
String[] animals = {"Rat", "Ox", "Tiger", "Rabbit", "Dragon", "Snake", "Horse", "Goat", "Monkey", "Rooster", "Dog", "Pig"};
int baseYear = 2020;
int index = (year - baseYear) % 12;
// in case of negative index, change it to positive
if(index < 0)
index = 12 + index;
System.out.println(year + ": " + animals[index]);
}
// some test cases
public static void main(String[] args) {
yearToAnimalZodiac(2020);
yearToAnimalZodiac(2021);
yearToAnimalZodiac(2019);
yearToAnimalZodiac(2009);
yearToAnimalZodiac(2008);
yearToAnimalZodiac(2007);
}
}
Answer:
The is the type of consumption is typically associated with the wealthy but can also apply to any economic class.
Explanation:
Answer: AD RMS(Active Directory Rights Management Services)
Explanation: Active Directory Rights Management Services (AD RMS) is the tool for security that provides the protection of data .The security of data is maintained by the policies and regulation of data accessing that are implemented on data .
The working of the AD RMS is based on the RMS applications which encrypts the document and generates the regulation and stamp to collect them in an individual files.This helps in protecting the information that being created and consumed.
Answer:
We create a block div with an id="block" and we make the css code
Explanation:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>bloque</title>
<link href="bloque.css" rel="stylesheet" type="text/css">
</head>
<body>
<!--we create the div with the id="block" and a text "hello world"-->
<div id="block"> hello world </div>
</body>
</html>
/* CSS Document */
/* we create the CSS file, then with the same id="block" we're programming in the CSS code*/
#block{
background-color: #ECDEC9;
padding: 20px;
float: left;
font-size: 50px;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Verdana", "sans-serif";
}