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:
MsgBox("User name is missing", 1 Or 16, "User Name Error")
Explanation:
Answer:
Product layout
Explanation:
In configuration of facilities, the four layouts used are the process, product, cellular and fixed-position layouts.In process layout, operations that have similar functions are placed together. Example is a machine shop in manufacturing scenario.Product layouts are applied where there is repetitive assembly and processes.For example in flow shops where large volume of products are produced in a short time. Products that are very large or too heavy use fixed position layouts.Example is ship building or dam construction which require on-spot job performing.Cellular layouts is an equipment layout that will ease the process of cellular manufacturing.For example in group technology, parts of similar designed are identified to be grouped with processes that have similar characteristics to avoid re-arranging of layouts.
Explanation:
for content filtering, I urge u use DNS
The programming language which was most likely used to create this mouse-hover feature is: d. Python.
<h3>What is a scripting language?</h3>
A scripting language is also referred to as a script and it can be defined as a type of programming language which comprises a set of executable codes (instructions) within a file that are executed by the operating system (OS) of a computer or software program (application) such as a webpage.
Scripting languages are typically used to give instructions or commands to software programs (application) such as:
- A standalone application.
<h3>Examples of a scripting language</h3>
In Computer programming, some examples of commonly used scripting languages include the following:
- JavaScript
- PHP
- Ruby
- Python
In this scenario, a Python program would be used to define a function that gets called every time an end user (Andie) moves his or her mouse over the the dancing monkey.
Read more on Python program here: brainly.com/question/6957007