hePandaKing5648 hePandaKing5648
  • 07-06-2023
  • Mathematics
contestada

Proof the correctness of the following statement: i. n is even and n≤10 and n<9}n:=n+2{n is even and n≤10} (3 marks) ii. {y=3}x:=y+1{2 ∗
x+y≤11} (3 marks) b) Identify the weakest pre condition for the following code segment. Integer x,y; {?} If (y>0) x:=y−1 else x:=y+1 {x<0}

Respuesta :

Otras preguntas

which of the following statement is true about a trapezoid
if a 10 pound sack of potatoes costs 6.55 how much would 1 pound cost? Rround to the nearest cent.
Suppose a bill has passed both the House and the Senate. It goes to the president at the beginning of the annual session of Congress. The president doesn't sign
Kory bought 2 boxes of candy and 1 soda at the movies and paid $8.00.Christopher bought 1 box of candy and 1 soda and paid $5.50. how much does 1 box of candy c
solve for a: a²-8a+12 is it A. -2,-6 B. 2,6 C. -3,-4. D. 3,4
How to measure the density of a white dwarf if its diameter is 1000 km and weighs 10³⁰ kg?
how do i write 4=(-8)+3x as a decimal?
What is required to have a good quality of life?
Michael's favorite song is 3.19 minutes long. If he listens to the song 15 times on repeat, how long will he have listened to the same song?
WHAT LANDFORMS AND VEGETATION IS THERES IN NORTH ITALY?