{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


Assignment_25b - display the square root of the number Use...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 25 Functions with one parameter Write a program with a function called mySquareRoot . In main , prompt the user for a number (a double), then – by calling the mySquareRoot function – calculate and
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: display the square root of the number. Use the standard cmath function to calculate the square root. Stop processing numbers when the user enters a zero. Use the follow screen shot as a guide....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online