I. Write a program to show a menu of paragraph on
screen as below:
Which of the following would you like to do?
1.Convert a number from the decimal
system (base 10) to the binary system (base 2).
2.Convert a number
from the binary system (base 2) to the decimal system (base 10).
Enter your selection ( 1 or 2 ):
// clock_t is pre-defined type in time.hORclock_t Begin_time, End_time;
int time;
Begin_time = clock();
//......
//.....
//....
End_time = clock();
time = End_time - Begin_time; //duration time
#include <time.h>
// clock_t is pre-defined type.
// CLOCKS_PER_SEC is a pre-defined constant in time.hclock_t Begin_time, End_time;
double time;
Begin_time = clock();
//......
//.....
//....
End_time = clock();
time = (double)(End_time - Begin_time) / CLOCKS_PER_SEC; //duration time
V. Research deeper in these two topics. Summarize your reading
and your computer work.
Write a formal paper including all references.
VI. Make a PowerPoint presentation about your topic and present to
class.