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
What does usb stand for
e-lub [12.9K]
Universal Serial Bus
8 0
3 years ago
Read 2 more answers
Digital learning can help students who enjoy
mr Goodwill [35]

Answer:

flexibility and independence

Explanation:

6 0
2 years ago
The domain name system ________. Question 2 options: A) is a way to find a host's IP addresses if your computer only knows the h
ra1l [238]

Answer:

C) both a and b

Explanation:

13) The domain name system ________.

A) is a way to find a host's IP addresses if your computer only knows the host's host name

B) is a general naming system for the Internet

C) both A and B

D) neither A nor B

8 0
2 years ago
Un automobil se desplaza a 1 458 km en direccion hacia el norte en un tiempo den 18 h. Cual es la velocidad promedio utilizada p
d1i1m1o1n [39]

Answer:

42

Explanation:

7 0
3 years ago
What file name would allow you to easily find and edit your document later in Word Online?
DIA [1.3K]
The first one “ jane_essay 2_24_21 “
6 0
2 years ago
Read 2 more answers
Other questions:
  • Binary search requires that data to search be in order. true or false
    5·1 answer
  • Identify the function for the following computer part: Printer Question 23 options: Input
    6·1 answer
  • What is the purpose of lookup tables in spreadsheet software
    13·2 answers
  • Determine the number of bytes necessary to store an uncompressed RGB color image of size 640 × 480 pixels using 8, 10, 12 and 14
    11·1 answer
  • Consider the following code segment: theSum = 0.0 while True: number = input("Enter a number: ") if number == ": break theSum +=
    10·1 answer
  • The box formed by the intersection of a row and column in a spreadsheet program is known as a ________.
    13·1 answer
  • Which are aspects of the post-production stage?
    9·1 answer
  • Suppose you are asked to design a rotating disk where the number of bits per track is constant. You know that the number of bits
    6·1 answer
  • How do you convert an algorithm to make it possible for a computer to read
    6·1 answer
  • One way to check if a website is secure is to look for a/an<br> in the address bar.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!