Skip to content

Your first function · ⁨你的第一个函数⁩

English

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.

中文

你的第一个函数

现在来写一个函数。不要写 main —— 检查器会加一个 main,用多个输入调用你的函数(你的代码会保存为 student.c)。完成 twice,让它返回 n 的两倍。

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩