以下是使用C语言实现的代码: ```c #include <stdio.h> int main() { int a = 0, b = 1, c = 2; int i; for(i = 4; i <= 35; i++) { int temp = a + b + c; a = b; b = c; c = temp; } printf("The 35th number in the sequence is: %d", c); return 0; } ``` 在这段代码中,我们首先定义了三个变量a、b和c,分别表示数列中的前三个数。然后,我们使用一个for循环来计算数列的第35个数。在每次循环中,我们先计算出当前三个数的和,然后将b的值赋给a,将c的值赋给b,最后将计算出的和赋给c。循环结束后,c的值就是数列的第35个数。 [2024-06-20 10:49:39 | AI写代码神器 | 219点数解答]