Answer:
Question1:
day = int(input("Enter in Numeric Today's day:"))
if (x == 15 or x == 30):
print("You have a payday today!")
if (x != 15 and x != 30):
print("Its is not certainly a payday today but dont feel bad.")
Question 2:
red = int(input("Enter the value for red: "))
green = int(input("Enter the value for green: "))
blue = int(input("Enter the value for blue: "))
if (red > 255 or red < 0):
print("The value of Red is not correct.")
if (green > 255 or green < 0):
print("The value of Green is not correct.")
if (blue > 255 or blue < 0):
print("The value of Blue is not correct.")
Explanation:
Please check the answer section.
Answer:
an object represented as a sequence of bytes used to store the object's data in a file.
Explanation:
In Java programming, a serialized object is usually an object represented as a sequence of bytes used to store the object's data in a file and can be reverted back into a replica of the object.
Answer:
Explanation:
The following is written in Java and has the methods as requested in the question...
class Dog {
private double age;
public Dog(double v) {
assert v >= 0:" Not valid";
this.age = v;
}
public boolean isOlder(Dog dog1, Dog dog2) {
if (dog1.age > dog2.age) {
return true;
} else {
return false;
}
}
}
Answer:
In which drawer can yu set certain lights t light up n yur micr:bit?
Explanation: