好喝的乃擦

#include <iostream>
#include <iomanip>
using namespace std;
struct wo{
	string Name;
	int ml;
	int id;
	int money;
};
int main(){
	int cl=10;
	wo teas;
	
	teas.id=1;
	teas.ml=150;
	teas.money=8;
	teas.Name="茉莉张娜";
	
	teas.id=2;
	teas.ml=150;
	teas.money=8;
	teas.Name="茉莉丹华";
	
	cout<<"废物,你奶擦的便好嗜杀:";
	
	int shuru;
	cin>>shuru;
	for(int i=0;i<cl;i++){
		if(shuru==teas.id){
			cout<<setw(10)<<teas.Name<<setw(5)<<teas.money<<setw(5)<<teas.ml<<"毫升"<<endl;
			return 0; 
		}
		
	}
	cout<<endl<<"你美麦乃擦,尼格勒紫"; 
	return 0;
}

  

posted @ 2024-11-29 19:18  最后一个还有我  阅读(12)  评论(0)    收藏  举报