#include<stdio.h>
int main()
{
printf(" * * * * * * * * * *
");
printf(" * * * * * * * * *
");
printf(" * * * * * * * *
");
printf(" * * * * * * *
");
printf(" * * * * * *
");
printf(" * * * * *
");
printf(" * * * *
");
printf(" * * *
");
printf(" * *
");
printf(" *
");
return 0;
}
#include<stdio.h>
int main()//
#include<stdio.h>
#include<math.h>
int main()//
#include<stdio.h>
int main()//求152个十百位。。。。
#include<stdio.h>
int main()//
#include<stdio.h>
int main()//落体
{
#include<stdio.h>
#include<math.h>
int main()//温度
{
int c;
int f;
printf("请输入华氏温度:
");
scanf("c=%d",&f) ;
c=5*(f-32)/9;
return 0;
}
int height;
int t=3;
int g=10;
height=0.5*g*t*t;
printf("%f
",height);
return 0;
}
{
printf("*
");
printf("* *
");
printf("* * *
");
printf("* * * *
");
printf("* * * * *
");
printf("* * * * * *
");
printf("* * * * * * *
");
printf("* * * * * * * *
");
printf("* * * * * * * * *
");
printf("* * * * * * * * * *
");
}
{
int a=152;
int b;
int c;
int d;
b=a/100;
c=(a/10)%10;
d=a%10;
printf("%d %d %d",b,c,d);
}
{
double x;
double y;
scanf("%lf",&x);
if(x>=0)
y=sqrt(x);
else
y=pow(x+1,2)+2*x+1/x;
printf("f(x)=%f",y);
return 0;
}
{
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
printf("* * * * * * * * * *
");
}