This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: array of integers using the following header: double min( double array, int size) Write a test program that prompts the user to enter ten numbers, invokes this function, and displays the minimum value. Here is the sample run of the program: <Output> Enter ten numbers: 1.9 2.5 3.7 2 1.5 6 3 4 5 2 The minimum number is: 1.5 <End Output> Write a function that counts the number of letters in the string using the following header: int countLetters( const char s) Write a test program that reads a C-string and displays the number of letters in the string. Here is a sample run of the program: <Output> Enter a string: 2010 is coming The number of letters in 2010 is coming is 8 <End Output> 2...
View Full Document
- Spring '11
- Return statement, Carriage return, int temp