Starting from:
$25

$19

Homework #6 (C Programming for Beginners - OnLine)

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.




























    2. 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:

More products