小朋友的票价 点个赞吧 (求求了) 说明 已知一位小朋友的电影票价是10元,计算x位小朋友的总票价是多少? 输入格式 一行,小朋友人数 输出格式 1行,总票价 样例 输入数据 1 1 输出数据1 total=10 #include<bits/stdc++.h> using namespace std; int main(){ int x; //人数 cin>>x; cout<<"total="<<x*10; return 0; } 运行效果 欢迎评论