Язык хз знает пишу на pascal и java
program whoisthat;
var
a : integer;
s, b: real;
begin
a:= 5;
b:= -3.5;
s:= a + b; (s = 1.5)
s:= 2 * s - b; (2 * 1.5 - (-3.5) = 6.5)
writeln(s);
end.
public class sum {
public static void main (String args[]){
int a = 5;
double b = -3.5;
double s = a + b;
s = 2 * s - b;
System.out.println(s);
}
}