最新回答 / 慕用8169764
这是 printf 的第一个参数,是一个用双引号括起来的字符串。它不仅包含需要原样输出的普通文本,还包含特殊的 格式声明(也叫占位符)。格式声明以百分号 % 开头,后面跟特定的格式字符(如 d, f, s 等),用于指定后续参数的输出格式
2025-09-01
最新回答 / 慕设计3542113
struct Student { int math; int english; }只是这个定义了结构体包含两项参数,在程序中声明变量时,可以声明含有多个结构体的数组变量
2025-08-28
最新回答 / 慕娘4019749
#include <iostream>#include <stdio.h> using namespace std;int main(){ double a,b; char s; scanf("%lf%c%lf",&a,&s,& b); if(s=='+') cout&;&l&;s&a&;&l&;b&s&;&l&;"=b<<"="& &if(a+b; if(s=='-') c...
2025-08-27