Answer:
In Java
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int mnth, yr;
Scanner input = new Scanner(System.in);
System.out.print("Month: "); mnth = input.nextInt();
System.out.print("Year: "); yr = input.nextInt();
boolean lpYear = (yr % 4 == 0 && yr % 100 != 0) || (yr % 400 == 0);
if(mnth == 1 || mnth == 3 || mnth == 5 || mnth== 7 || mnth == 8 || mnth == 10 || mnth == 12){
System.out.print("31 days"); }
else if(mnth == 2){
System.out.print(((lpYear) ? "29 days" : "28 days")); }
else if(mnth == 9 || mnth == 6 || mnth == 4 || mnth== 11){
System.out.print("30 days"); }
else{ System.out.print("Invalid"); }
}
}
Explanation:
See attachment for complete program where comments were used as explanation.
Answer:
D. Binary
Explanation:
Computer hardware parts are built on transistors, small electrical devices that switch electrical signals and amplify power. The CPU (Central Processing Unit), the "brain" of the computer, has billions of tiny transistors <em>alone</em>.
These transistors read binary, a code made up of 1's and 0's. This code tells what the computer to do.
CSS, HTML, and HTML 5 apply to web pages and web page designs, not code for the computer.
The OS (operating system) that your computer runs is coded in C++ (Windows) or C (Linux)
Its b,because the sentence describes a text box so well,plus im in digital art
it's not necessary in a field to have .
The Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet , so basically like sending a email to one another .