Answer:
// here is code in c++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main() {
// variables to read birth month and year
int birthMonth,birthYear;
cout<<"Enter the birth month:";
// read the birth month
cin>>birthMonth;
cout<<"Enter the birth Year:";
// read the birth year
cin>>birthYear;
// print the output
cout<<birthMonth<<"-"<<birthYear<<endl;
return 0;
}
Explanation:
Declare two variables "birthMonth" and "birthYear". Read the value of birthMonth and birthYear from user. Then print the birth month and birth year and a dash(-) in between them.
Output:
Enter the birth month:1
Enter the birth Year:2000
1-2000
Enter the birth month:5
Enter the birth Year:1950
5-1950
Answer:
"Option 4: ZeroDivisionError" is the correct answer
Explanation:
When we try to divide any number by zero in mathematics, the answer is infinity. Similarly, if we try to divide a number by zero in Python, the Python interpreter throws a "ZeroDivisionError" as the denominator or divisor cannot be a zero.
Hence,
"Option 4: ZeroDivisionError" is the correct answer
It contributes to the fast spreed of ideas.
Answer:
with only 1 print statement and using No Space Characters, output the text ... quote_me takes a string argument and returns a string that will display ... White has sizes L, M; Blue has sizes M, S ... input("Input shirt color: ").lower() size = input("Input shirt size: ").upper() if color ... call the function with a string from user input.
Read the pseudo code for the program: Input: Ask user what size shirt—small, medium, large, or extra-large. Ask user what color—blue, green, red, or yellow. Ask user what design—chevron, solid, or stripes. Output: Print a message that clearly displays the user's shirt size, color, and design.
Explanation:
These kind of jobs are called freelance jobs.
The person who has a freelance job is called a freelancer.