1. Course
  2. Arithmetic
  3. Equivalent operations

Equivalent operations


Last updated: 8/22/2020 Difficulty: Easy

Write a C# program to ask the user for three numbers (a, b, c) and display the result of (a+b)*c and the result of a * c + b*c.

Input

2
4
2

Output

12
12

Solution

Arithmetic

7 / 8

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Advertising