Asked by Tom

Write a program that Will prompt a user to enter his/her name and number.use a while loop that will display the user name times the entered number

Answers

Answered by Steve
display "enter name, number: "
read s
(name,num) = split(",",s)
while (num-- > 0) {
  display name
}

use the language of your choice
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions