Write a function double read_double(string prompt) that displays the prompt string, followed by a space, reads a floating-point number in, and returns it. Here is a typical usage: g

Solved
Show answers

Ask an AI advisor a question