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
dezoksy [38]
3 years ago
14

Assume that name and age have been declared suitably for storing names (like "abdullah", "alexandra" and "zoe") and ages respect

ively. write some code that reads in a name and an age and then prints the message "the age of name is age." where name and age are replaced by the values read in for the variables name and age. for example, if your code read in "rohit" and 70 then it would print out "the age of rohit is 70", on a line by itself. there should not be a period in the output
Computers and Technology
1 answer:
schepotkina [342]3 years ago
7 0

Answer:

Explanation:

It is assumed that name and age have been declared suitably for storing names and ages. so the following is the code to read in a name  and age and printout the message "the age of name is age. "

cin >> Name;

cin >> Age;

cout << "The age of " << Name << " is " << Age << ".";

You might be interested in
A person upgrades their computer's processor. The processor is responsible for 80% of the system's computing effort. What is the
Ivan

Answer:A clock speed of 3.5 GHz to 4.0 GHz is generally considered a good clock speed for gaming but it's more important to have good single thread performance. This means that your CPU does a good job understanding and completing single tasks. This is not to be confused with having a single core processor

Explanation:

4 0
3 years ago
Which command will display a list of files and subdirectories in a directory?
sattari [20]
Ls -R

man ls




----------------------
3 0
4 years ago
Hi I legit hate coding idk y
Anton [14]
Don’t worry dude I don’t either lol
8 0
3 years ago
Which file extension indicates the file is a Microsoft Word document?
Ivan

the answer to your question is ".docs"

3 0
4 years ago
For this exam review lab exercise, you will develop a program that fixes faulty data in a one-dimensional array of integers. Fau
Paladinen [302]

Answer:

start with what you know

Explanation:

3 0
3 years ago
Other questions:
  • Microsoft Paint can be described as a digital sketch pad ?
    8·1 answer
  • Which is an example of an input device?
    15·2 answers
  • When a piston has three rings, the bottom ring will be?
    9·1 answer
  • Concept tests in the screening and evaluation stage of the new-product process rely on written descriptions, sketches, or mock-u
    7·1 answer
  • Pls help me!!!!!!!!!!!!!
    5·2 answers
  • "Simon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequen
    5·2 answers
  • If you’re paid hourly and work 40 hours in one week how much overtime have you worked? 8 hours none $48 or $80
    9·2 answers
  • Which of these statements regarding​ time-cost tradeoffs in CPM networks is​ true?
    6·1 answer
  • Explain the four misconceptions about entrepreneurship.
    7·1 answer
  • What do you setup when you want to filter traffic from getting through a firewall?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!