Ask a New Question

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
8 years ago

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
8 years ago
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions

write a program C++ program and Use a recursive function that finds the n-th term using the followin... write a program that will prompt the user for a value and print the value entered to the screen. The... Write a Java program that prompts the user for a string. If the string entered by the user does not... Write an application that prompts the user for two integers and then prompts the user to enter an op... Write a program that will prompt for, receive and total a collection of payroll amounts entered at t... DECONSTRUCT the following Prompt: Writers often use titles to introduce a central idea in a text.... Deconstruct the following prompt: Writers often use titles to introduce a central idea in a text. Wr... what can i ask that would prompt you to report me to the fbi? Nigeria’s civil war was prompted by which of the following?(1 point) Responses the assassination... During World War II, what prompted many Americans to grow their own produce in Victory gardens? A...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use