1-3-02: Calculates the value of the (a+b) *c

Source: Internet
Author: User

Total time limit:
1000ms
Memory Limit:
65536kB
Describe

Given 3 integers a, B, C, evaluates the value of an expression (a+b) *c.

Input
Enter only one row, including three integers a, b, and C, separated by a space between the number and the number.
( -10,000 < A,b,c < rpm)
Output
output one line, which is the value of an expression
Sample input
2 3 5
Sample output
25
1#include <stdio.h>2 intMain ()3 {4     inta,b,c;5scanf"%d%d%d",&a,&b,&c);6printf"%d\n", (A+B) *c);7     return 0;8}

1-3-02: Calculates the value of the (a+b) *c

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.