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
g100num [7]
3 years ago
12

Write two statements to read in values for birthMonth followed by birthYear, separated by a space. Write a statement to print th

e date using the format birthMonth/birthYear. Ex: 1 2000 (User's input) 1/2000 (Program's output)
Computers and Technology
1 answer:
Ede4ka [16]3 years ago
5 0

Answer:

// here is code in the C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main() {

// variable to store the input

int birth_month,birth_year;

cout<<"enter birth month:";

// read the birth month

cin>>birth_month;

cout<<"enter birth year:";

// read the birth year

cin>>birth_year;

// print the output

cout<<birth_month<<"/"<<birth_year<<endl;

return 0;

}

Explanation:

Declare two variables to store the birth month and birth year.Read the inputs from the user and assign it the variables.Print the birth month and year separated by a slash "/".

Output:

enter birth month:1                                                                                                        

enter birth year:2000                                                                                                      

1/2000

You might be interested in
Each of the flowchart segments in Figure 3-24 is unstructured. Redraw each segment so that it does the same processes under the
SSSSS [86.1K]

The segments of the flowcharts have been recreated such that  it does the same processes under the same conditions, but is structured. Their respective pseudo codes have also been created. See the attached pdf.

<h3>What is a pseudo code?</h3>

A pseudo code is a notation used in program design that looks like a simplified computer language.

<h3>Why is it important for flow chart to be structured?</h3>

This preference derives from the fact that such flowcharts are easier to understand and produce less mistakes in human perception.

The organized flowchart primarily aids the mission in the development of new algorithms by encapsulating a variety of data points within an interconnected depiction.

Learn more about flowcharts at;
brainly.com/question/6532130
#SPJ1

5 0
2 years ago
A frameset should only be used with XHTML true or false
Naddik [55]
Framesets require a special DTD. If you're writing XHTML and want to use the strict DTD, you can't use frames/framesets.
4 0
3 years ago
To what extent are surrounded species able to stand the anthropogenic activities?
julsineya [31]

Answer:

At the current rate, surrounded animal species might not be able to stand anthropogenic activities in the nearest future.

Explanation:

<em>Anthropogenic activities are those human activities that causes change in the biophysical environment, ecosystems, biodiversity, and natural resources. It also includes global warming, mass extinction of animals and loss of bio-diversity and other global disasters brought about by human activities</em>.

<em>The main driving force of anthropogenic activities is the pressure brought about by the ever growing human population</em>. The earth is overpopulated by humans, and this pushes man to maximize his environment, even to the detriment of this environment. Animal species are hunted to extinction due to increasing demand for their meat, or ornaments gotten from these animals, or some of their body parts, perceived to hold medicinal power, industrial activities poison the environment and natural resources all around, and some ecology has been destroyed and native species population decimated, just because man felt he had to control his environment, sometimes by introducing foreign species he feels he needs.

If nothing is done to halt the current rate of anthropogenic activities, by controlling human population growth, man might end up occupying the planet all alone by himself with surrounding species utterly destroyed.

3 0
3 years ago
Assume that programs spend about 25% of their time waiting for I/O operations to complete. If there are FOUR programs loaded int
natima [27]

Answer:

0.9961

Explanation:

Given that:

Proportion of time waiting for I/O operation to complete = 25% = 0.25

Number of programs waiting in memory = 4

Using the CPU Utilization formula :

CPU Utilization = 1 - p^n

1 - 0.25^4

1 - 0.00390625

0.99609375

5 0
3 years ago
To rehearse giving a PowerPoint presentation, Hema would like to print out the presentation with all of the speaker notes. Hema
seraphim [82]

From the given case in the question, Hema would prefer having a handout document for the audience that does not include the slide dates, which are included in her printed notes for the presentation.

To do this, Hema would need to execute option (D) View → Notes and Handouts → Header & Footer → Date and time → Fixed.

This is because the option to modify dates for handouts and notes are in the View tab, not on the insert Tab.

8 0
4 years ago
Other questions:
  • Which of the following are potential drawbacks to the Internet in regard to politics? Select all that apply. Overexposure of can
    10·2 answers
  • In order to set up a wireless network (WLAN) in your home,what will you need.?
    14·1 answer
  • Consider the problem of finding the distance between the two closest numbers in an array of n numbers. (The distance between two
    13·1 answer
  • Which bus slot provides highest video performance​
    13·1 answer
  • Define a class named ComparableSquare that extends Square (defined above) and implements Comparable. Implement the compareTo met
    7·1 answer
  • Suppose users share a 1 Mbps link. Also suppose each user
    10·1 answer
  • You're the administrator for a large bottling company. At the end of each month, you routinely view all logs and look for discre
    8·1 answer
  • What types of character Microsoft Excel understand​
    6·1 answer
  • Why is storage and important part of the computing process? It must be atleast five sentences.
    11·1 answer
  • How to recover deleted photos after deleting from recently deleted
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!