Your first function · Tu primera función
Your first function
Now write a function. Don't write main — the checker adds one that calls your function with several inputs (your code is saved as student.c). Complete twice so it returns n times two.
Tu primera función
Ahora escribe una función. No escribas main — el verificador añade uno que llama a tu función con varias entradas (tu código se guarda como student.c). Completa twice para que devuelva n multiplicado por dos.
Complete int twice(int n) so it returns n times two. Do not write main. · Completa int twice(int n) para que devuelva n multiplicado por dos. No escribas main.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.