Respuesta :

The values of x after the statement are:

  • b) If x=1, then the statement P(1)="1>1" is false, and thus the value of x is equal to 1 after the statement "P(x) then x := 1".
  • c) If x=2, then the statement P(2)="2>1" is true, and thus the value of x is equal to 1 after the statement "if P(x) then x := 1".

What is Discrete Mathematics?

This refers to the field of mathematics that studies mathematical structures and views them as discrete, rather than continuous and they include integers, statements, etc.

Therefore, if we consider the statement "if P(x) then x:=1" which is equivalent to "if x>1 then x:=1", then we can see that If x=1, then the statement P(1)="1>1" is false

Read more about discrete mathematics here:

https://brainly.com/question/27793609

#SPJ1

ACCESS MORE