Sie sind auf Seite 1von 1

These are totally optional. They will not affect your final class score.

(however, they can positively affect your grade in borderline cases).


Please submit as extra1_1.c and extra1_2.c with homework1.
1. Write an interactive program that will read in a positive integer
and determine the following:
a. If the integer is a prime number
b. If the integer is a Fibonacci number
Be sure the program runs continuously until the user requests that
it terminate.
2. Write a program that estimates sin x with a user-specified accuracy.

Das könnte Ihnen auch gefallen