calcMinmum function: This is function that returns an integer and accept no parameters. This function will do the following: Use the while loop to implement the below logic Allow the user to enter integers (you need to at least enter one integer) The logic will keep ask the user to enter values until the user enter -99 which means he does not need to enters any more numbers   This -99 should not be considered when you calculate the minimum number The function will return the minimum value back to the main function to be displayed there

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.6: Nested Loops
Problem 5E: (Mathematical functions) Write a program that calculates and displays values for y when y=xz/(xz)...
icon
Related questions
Question

calcMinmum function:

This is function that returns an integer and accept no parameters. This function will do the following:

  • Use the while loop to implement the below logic
  • Allow the user to enter integers (you need to at least enter one integer)
  • The logic will keep ask the user to enter values until the user enter -99 which means he does not need to enters any more numbers

 

  • This -99 should not be considered when you calculate the minimum number
  • The function will return the minimum value back to the main function to be displayed there
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning