task1_1.c
`#include <stdio.h>
include <stdlib.h>
int main()
{
printf(" O \n");
printf("
printf("I I\n");
printf(" O \n");
printf("
printf("I I\n");
system("pause");
return 0;
}`
task1_2.c
`#include <stdio.h>
include <stdlib.h>
int main()
{
printf(" O O \n");
printf("
printf("I I I I\n");
system("pause");
return 0;
}`
task2.c
`#include <stdio.h>
include <stdlib.h>
int main()
{
float a, b, c;
while(scanf("%f%f%f", &a, &b, &c)!= EOF)
if(a+b>c && a+c>b && b+c>a)
printf("能构成三角形\n");
else
printf("不能构成三角形\n");
system("pause");
return 0;
}`
task3.c
`#include <stdio.h>
include <stdlib.h>
int main()
{
char ans1, ans2;
printf("每次课前认真预习、课后及时复习了没? (输入y或Y表示有,输入n或N表示没有)