Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that name and age have been declared suitably for storing names (like Abdullah, Alexandra and Zoe) and ages respectively. Write some code that reads

image text in transcribed
image text in transcribed
Assume that name and age have been declared suitably for storing names (like "Abdullah", "Alexandra" and "Zoe") and ages respectively. 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., X 30 of 30: 2021-02-18 22.13:54 - W SUBMIT include nanage cout 2 include 3 4 going namespace std: 5 6 int main() 7 char name[4011 8 intage 9 10 Winclude 12 using namespace std; 13 int main 14 15 strings 16 int ager 12 cin >> name >> age 1 10 coutThe age of " name aye

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

6 0 8 .

Answered: 1 week ago

Question

2 The main characteristics of the market system.

Answered: 1 week ago