题解 | #牛牛买电影票#

牛牛买电影票

https://www.nowcoder.com/practice/0ad8f1c0d7b84c6d8c560298f91d5e66

知识点:运算

#include <iostream>
using namespace std;

int main() {
    int n = 0;
    int price = 100;
    int total_price = 0;

    cin >> n;

    total_price = price * n;

    cout << total_price;

    return 0;
}

#算法#
全部评论

相关推荐

点赞 评论 收藏
分享
评论
1
1
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务