- 2023-06-10C++基础题
C++基础题水仙花数#include<iostream>usingnamespacestd;intmain(){cout<<"3位水仙花数:"<<endl;for(intnum=100;num<=999;num++){intdigit1=num/100;//百位数字intdigit2=(num/10)%10;
- 2023-06-08实验七
实验任务四#include<stdio.h>intmain(){FILE*file;charfilename[100];charch;intcount=0;file=fopen("data4.txt","r");if(file==NULL){printf("无法打开文件\n");return
- 2023-06-08实验七
实验七实验任务4实验代码#include<stdio.h>intmain(){FILE*file;charfilename[100];charch;intcount=0;file=fopen("data4.txt","r");if(file==NULL){printf("无法打开文件\n");r