linux1[101] ls exponents.c exponents.h proj1.c linux1[102] gcc -Wall -ansi -c proj1.c linux1[103] gcc -Wall -ansi -c exponents.c linux1[104] ls exponents.c exponents.o proj1.o exponents.h proj1.c linux1[105] gcc proj1.o exponents.o -lm linux1[106] ls a.out exponents.h proj1.c exponents.c exponents.o proj1.o linux1[107] a.out Your greeting goes here Begin by entering an initial value for evaluation Enter a positive value : 3 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 2 3.000000 ^ 3 = 27.000000 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 5 The difference between the approximate and precise square roots of 3.000000 is 2.445850e-09 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 1 3.000000 ^ 2 = 9.000000 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 3 The approximate square root of 3.000000 is 1.732051 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 4 The precise square root of 3.000000 is 1.732051 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 6 Changing to a new value for evaluation. Enter a positive value : 4.25 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 1 4.250000 ^ 2 = 18.062500 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 2 4.250000 ^ 3 = 76.765625 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 3 The approximate square root of 4.250000 is 2.061553 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 4 The precise square root of 4.250000 is 2.061553 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 5 The difference between the approximate and precise square roots of 4.250000 is 1.799791e-07 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 9 Please enter an integer between 1 and 7 : 0 Please enter an integer between 1 and 7 : 6 Changing to a new value for evaluation. Enter a positive value : -7.89 Positive values only! Try again. Enter a positive value : 0 Positive values only! Try again. Enter a positive value : 9.0 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 1 9.000000 ^ 2 = 81.000000 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 4 The precise square root of 9.000000 is 3.000000 1 - Square a number 2 - Cube a number 3 - Find Approximate Square Root 4 - Find Precise Square Root 5 - Compare the Square Roots 6 - Get a new number 7 - Quit Your choice: Please enter an integer between 1 and 7 : 7 Ending program linux1[108]