?? prog1
字號:
/* PARESH CHHOTUBHAI
CS 362A : " C " LANGUAGE
SPRING 1988
ASSIGNMENT #1
" C " WORKBOOK : PAGE 26, 26A
DUE DATE : APRIL 14,1988
MR. DAVID JOHNSON
*/
/* Program with function to triple a number */
/* This program has a main program
and a function called triple ().
This function calculates
and returns three times its input parameter.
*/
main()
{
int answer; /* working integer variable */
answer = triple (5);
printf ("The result is %d", answer);
}
/* The function triple starts here. */
triple (n)
int n; /* declaration of function parameter */
{
return (n + n + n); /* triples the input parameter */
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -