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
Delicious77 [7]
3 years ago
5

Write two statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a slash, 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#include int main(void) {int birthMonth;int birthYear;cin >> birthMonth >> birthYear;cout << birthMonth << "/" << birthYear << endl;return 0;}
Computers and Technology
1 answer:
enyata [817]3 years ago
6 0

Answer:

Statement to get input values:-

cin>>birthMonth>>birthYear;

Statement for output:-

cout<<birthMonth<<"/"<<birthYear<<endl;

Explanation:

The statements are in C++ language.

To get the input we use cin in C++ with >>.

We are taking the input of birthMonth and birthYear.

For printing we use cout .We have printed birthMonth then slash and then birthYear.

You might be interested in
Spreadsheet software creates a ____, composed of a grid of columns and rows
andriy [413]
Spreadsheet software creates a worksheet, composed of a grid of columns and rows.
3 0
3 years ago
Several NEC® sections contain the requirement to size conductors and overcurrent devices at 100 percent of the noncontinuous loa
9966 [12]

Answer:

125 percent of continuous load

Explanation:

8 0
2 years ago
The process of arranging the item of a column in some sequence or order is known as?
MatroZZZ [7]

answer: sorting??  

(hope it helps)

6 0
2 years ago
Electricity fact topic
gregori [183]
''for kids'' i think thats what that mean
5 0
3 years ago
Read 2 more answers
What document type would be best to communicate sales items from a business to potential customer?
Mandarinka [93]

Answer: Flyer

Explanation: A flyer is a type of advertisement that is used to give out information about a certain product, event, or business. This can help communicate with potential customers.

8 0
3 years ago
Other questions:
  • A pacing calendar is provided to students so they can:
    8·2 answers
  • In C++ Please :
    6·1 answer
  • According to the video, some workers who work for themselves, such as Actors, Musicians, or Writers, may have what sort of worke
    7·1 answer
  • Consider a system consisting of m resources of the same type, being shared by n processes. Resources can be requested and releas
    13·1 answer
  • What is one way to recognize whether an online source has been copyrighted? The source features the phrase “all rights reserved.
    6·2 answers
  • What is the output?<br> &gt;&gt;&gt; phrase = "hello mom"<br> &gt;&gt;&gt; phrase upper()
    6·2 answers
  • What do you hope will be in/added GTA 6?
    13·1 answer
  • tell us things u did as a kid but don't want to admit to it (best gets brainly 5 stasr and a thank you)
    13·2 answers
  • Tools used to type text on Ms paint​
    12·1 answer
  • Where is the element coded in a web page.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!