1001、
#include <stdio.h>
int main() {
printf("Hello,World!");
}
1000、
#include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d", a + b);
}
2061、
#include <stdio.h>
int main() {
float area_of_triangle = 150.0;
float base_of_triangle = 15.0;
float height_of_triangle = (2 * area_of_triangle) / base_of_triangle;
float top_base_of_trapezoid = 15.0;
float bottom_base_of_trapezoid = 25.0;
float area_of_trapezoid = (top_base_of_trapezoid + bottom_base_of_trapezoid) * height_of_triangle / 2;
printf("%.2f", area_of_trapezoid);
return 0;
}
2062、
#include <stdio.h>
int main() {
int a, b=10;
scanf("%d", &a);
printf("%d %d", a,a * b);
return 0;
}
2063、
#include <stdio.h>
int main() {
int c1 = 20 * 15;
int c2 = 10 * 20;
int daily_growth = (c1 - c2) / (20 - 10);
printf("%d", daily_growth);
return 0;
}