Ask Question
4 May, 15:43

Assume that name and age have been declared suitably for storing names (like "abdullah", "alexandra" and "zoe") and ages respectively. assume also that stdin is a variable that references a scanner object associated with standard input. write some code that reads in a name and an age and then prints the message "the age of name is age" on a line by itself, 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.

+1
Answers (1)
  1. 4 May, 19:00
    0
    Name = "Bob"

    age = 50

    print ("The age of", name, "is", age)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Assume that name and age have been declared suitably for storing names (like "abdullah", "alexandra" and "zoe") and ages respectively. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers