Capgemini Engineering Interview Question

Make a C program to display sine wave in console using '*' characters (vertical sine wave).