Homework #6 (C Programming for Beginners – OnLine)

$24.99 $18.99

Note: If you complete this (specially 6.1 and 6.2) and next homework, you will be much closure to your in designing your midterm project Write a function called getMenuChoice (), which returns an integer as menu choice based on the requirement in the problem #1 of “Homework #5”. You can utilize the code in the…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Note: If you complete this (specially 6.1 and 6.2) and next homework, you will be much closure to your in designing your midterm project

  1. Write a function called getMenuChoice (), which returns an integer as menu choice based on the requirement in the problem #1 of “Homework #5”. You can utilize the code in the problem #1 for this function. Modify the main function and call your new function getMenuChoice to get the choice from user. Print the choice given by the user in the main function.

  1. Write a function called getTwoFloats(), which returns an array of two floats based on the requirement in the problem #2 of “Homework#5”. You can utilize the same code in the problem #2 in this function. Modify the main function to call getTwoFloats and print the two floats in the main method.

Example user interface:

Homework #6 (C Programming for Beginners - OnLine)
$24.99 $18.99