#include <stdio.h>
#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
float shixing=8888.88,shixing1=1111.11; //声明float型数据shixing,shixing1并赋值
printf("实型+实型1=%f",shixing+shixing1); //输出实型和
return 0;
}

%f默认为double型