1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
expeople1 [14]
3 years ago
11

Write two cin statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a dash,

and the year. End with newline. The program will be tested with inputs 1 2000, and then with inputs 5 1950. Ex: If the input is 1 2000, the output is: 1-2000 Note: The input values come from user input, so be sure to use cin statements, as in cin >> birthMonth, to get those input values (and don't assign values directly as in birthMonth
Computers and Technology
1 answer:
snow_lady [41]3 years ago
6 0

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

You might be interested in
How to find out where an item was purchased by the upc code?
diamong [38]
There should be a search engine
3 0
3 years ago
________ can be written only once. The data cannot be erased or written over once it is saved.​
notka56 [123]

Answer:

WORM (Write Once, Read Many)

Explanation:

The full meaning which means Write Once, Read Many implies that data can only be entered (or better put, written) once. Once the data has been written, the data can not be updated or deleted. However, the data being stored on WORM can be read as many times, as possible.

Hence, WORM answers the question.

6 0
3 years ago
Next
umka21 [38]

Answer:

script=java

makeup=Html

css=text

dom=document

Explanation:

3 0
2 years ago
I have a project on "USING ADVANCED FORMULAS". It wants me to make a spreadsheet to track payroll. I have no clue how to do this
ANTONII [103]
Try to do it on Microsoft word 2013
7 0
3 years ago
Jeff was explaining to a friend the importance of protecting a cryptographic key from cryptoanalysis. He said that the key shoul
Lisa [10]

Answer:

Jeff is describing confusion

Explanation:

In 1945, Claude Shannon gave a classified report on: "Mathematical Theory of Cryptography" where he stated that confusion and diffusion are two properties of the operation of a secure cipher which are very essential in cryptanalysis.

When each bit of the ciphertext depends on several parts of the key, secluding the connections between the ciphertext and the key, it is known as confusion.

Hence, Jeff saying that the key should not relate in a simple way to the cipher text describes confusion.

7 0
3 years ago
Other questions:
  • How to get the blade out of a pencil sharpener?
    9·1 answer
  • It is possible to make the document larger for viewing small text. <br> True or False
    13·2 answers
  • Rebecca completed work on a computer and is verifying the functionality of the system when she finds a new problem. This problem
    15·1 answer
  • Drag the correct type of update to its definition.
    5·1 answer
  • Value or power of a network grows exponentially as a function of the number of network members. this is known as ________ law.
    8·1 answer
  • Which tool determines whether or not applications, devices, and computers will work with a new operating system, while maintaini
    13·1 answer
  • What is VLSI stand for​
    14·1 answer
  • a certain kind of fish in the ocean eats only algae. a seal eats this fish a bear eats the seal .when the bear dies,it’s recycle
    6·1 answer
  • A local firewall adds protection to a hardware firewall by protecting a device _______. Select all that apply. WILL GIVE BRAINLI
    6·2 answers
  • Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!