06 2023 档案
战斗机
摘要:#include <iostream> #include <string> #include "Windows.h" #include "minecraft.h" #include <cstring> TxMinecraft mc; using namespace std; struct Blook 阅读全文
posted @ 2023-06-24 20:02 爱吃泡面的皮卡 阅读(8) 评论(0) 推荐(0) 编辑
一维数组逆置
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { system("pause"); int a[7]={1,2,3,4,5,6,7}; for (int i=1;i<8;i++){ cout<<a[7 阅读全文
posted @ 2023-06-24 16:23 爱吃泡面的皮卡 阅读(24) 评论(0) 推荐(0) 编辑
抽奖(最新版)
摘要:#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main(int argc, char** argv) { int a,n; bool s=false; cout<<"抽奖程序"<<en 阅读全文
posted @ 2023-06-24 09:25 爱吃泡面的皮卡 阅读(26) 评论(0) 推荐(0) 编辑
小写转大写
摘要:#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main 阅读全文
posted @ 2023-06-24 08:55 爱吃泡面的皮卡 阅读(12) 评论(0) 推荐(0) 编辑
分数换字母
摘要:#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main 阅读全文
posted @ 2023-06-24 08:40 爱吃泡面的皮卡 阅读(5) 评论(0) 推荐(0) 编辑
西瓜
摘要:#include <iostream> #include <string> #include "Windows.h" #include "minecraft.h" TxMinecraft mc; using namespace std; int main(int argc, char** argv) 阅读全文
posted @ 2023-06-18 10:03 爱吃泡面的皮卡 阅读(4) 评论(0) 推荐(0) 编辑
解密加密
摘要:/*#include <iostream> using namespace std; int main(int argc, char** argv) { string a; cin>>a; for(int i=0;i<a.size();i++){ char b=a[i]; int c=b; cout 阅读全文
posted @ 2023-06-18 08:11 爱吃泡面的皮卡 阅读(6) 评论(0) 推荐(0) 编辑
派大星
摘要:#include <iostream> #include <string> #include "minecraft.h" #include <Windows.h> using namespace std; TxMinecraft mc; int main(int argc, char** argv) 阅读全文
posted @ 2023-06-17 19:48 爱吃泡面的皮卡 阅读(19) 评论(0) 推荐(0) 编辑
猜大小
摘要:#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main(int argc, char** argv) { /*int a,n; cout<<"抽奖程序"<<endl<<"请输入一个1- 阅读全文
posted @ 2023-06-17 09:27 爱吃泡面的皮卡 阅读(8) 评论(0) 推荐(0) 编辑
抽奖游戏
摘要:#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main(int argc, char** argv) { int a,n; cout<<"抽奖程序"<<endl<<"请输入一个1-5的 阅读全文
posted @ 2023-06-17 08:48 爱吃泡面的皮卡 阅读(11) 评论(0) 推荐(0) 编辑
判断质数和合数
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int c; cout<<"请输入你要判断的数:"<<endl; system("pause"); cin>>c; if(c%2==0||c%3==0 阅读全文
posted @ 2023-06-08 09:56 爱吃泡面的皮卡 阅读(31) 评论(0) 推荐(0) 编辑
糖水
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { float tang,shui,tangshui; tang=15*0.2; tangshui=tang/0.15; shui=tangshui-ta 阅读全文
posted @ 2023-06-08 09:23 爱吃泡面的皮卡 阅读(6) 评论(0) 推荐(0) 编辑
两位数的反转
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int c,v,b; cout<<"请输入你你要反转的两位数:"<<endl; system("pause"); cin>>c; v=(c%10)*1 阅读全文
posted @ 2023-06-08 08:38 爱吃泡面的皮卡 阅读(25) 评论(0) 推荐(0) 编辑
三角形的面积
摘要:#include <iostream> #include <iomanip> using namespace std; int main(int argc, char** argv) { float x,a,s; cout<<"请输入你三角形的低和高:"<<endl; system("pause") 阅读全文
posted @ 2023-06-08 08:38 爱吃泡面的皮卡 阅读(18) 评论(0) 推荐(0) 编辑
猜数字
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int x=100,d=0; string a; cout<<"请想一个数"<<endl; system("pause"); cout<<"你猜的这个 阅读全文
posted @ 2023-06-07 18:20 爱吃泡面的皮卡 阅读(58) 评论(0) 推荐(0) 编辑
比大小
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int q=12,w=13,e=14,r=176,t=143,y=1111,u=123,i=134,o=234,p=354; int x=0; if( 阅读全文
posted @ 2023-06-07 08:41 爱吃泡面的皮卡 阅读(29) 评论(0) 推荐(0) 编辑
门的开关
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { bool x,z,c,v,b,n,m; int a=0; x=z=c=v=b=n=m=true; z=!z; v=!v; n=!n; c=!c; n= 阅读全文
posted @ 2023-06-06 15:49 爱吃泡面的皮卡 阅读(5) 评论(0) 推荐(0) 编辑
计算机
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int x; int a; string d; cout<<"请输入一个字符,*,/,+,-"; cin>>d; cout<<"请输入第一个数字"; 阅读全文
posted @ 2023-06-06 15:22 爱吃泡面的皮卡 阅读(20) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示