Untitled
Anonymous
Plain Text
10/23/2022 12:23 PM
165 B
11
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
int A, A1, b, c, d;
cin >> A >> b >> c;
c = c - 1;
d = b - A;
A1 = A + (c * d);
cout << A1;
}Editor is loading...