My Blog

Thoughts, tutorials, and insights on technology and development

分段函数

#include <stdio.h> int main() {   int number;   printf("请输入一个数字:");   scanf("%d",&number);   if (number > 0) {   &...
Read More

录取结果

#include <stdio.h> int main() {     const double PASS=85.3439;   double scoreone;   int scoretwo;   printf("请输入高考成绩:"); &...
Read More

工资计算器 2.0

#include <stdio.h> int main() {     const double pay = 8.25;   const int STANDARD = 40;   int hour = 0;   double salary;   prin...
Read More

工资计算器

#include <stdio.h> int main() {     const double pay = 8.25;   const int STANDARD = 40;   int hour = 0;   double salary;   prin...
Read More

两数比大小

#include <stdio.h> int main() {     int a = 0;   int b = 0;   printf("请输入两个整数:");   scanf("%d %d", &a, &b);  ...
Read More