Here is a website about computer programming. Hope this helps.
http://www.wikihow.com/Start-Learning-Computer-Programming
Software that helps you navigate the web is called a web browser
Using the knowledge in computational language in JAVA it is possible to write a code that the document object to display the current platform in a tag in the webpage
<h3>Writting the code in JAVA:</h3>
<em> <TABLE></em>
<em> <ROWS> </em>
<em> <TR> </em>
<em> <TD>Shady Grove</TD></em>
<em> <TD>Aeolian</TD> </em>
<em> </TR> </em>
<em> <TR></em>
<em> <TD>Over the River, Charlie</TD></em>
<em> <TD>Dorian</TD> </em>
<em> </TR> </em>
<em> </ROWS></em>
<em> </TABLE></em>
<em> </em>
<em />
See more about JAVA at brainly.com/question/12975450
#SPJ1
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);
}
}