Ask Question
24 September, 17:20

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.

+4
Answers (1)
  1. 24 September, 19:08
    0
    Name = "Bob"

    age = 50

    print ("The age of", name, "is", age)
Know the Answer?
Not Sure About the Answer?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers