Computer Science, asked by abcd2703, 1 year ago

someone pls soon answer it

Attachments:

Aishwarya98: very sorry for late response..
Aishwarya98: hope so my answer will help you a lot to finish your assignment..
Aishwarya98: Please consider and mark as brainliest..

Answers

Answered by piyushatre29
0

answers of the question are as follows

1.(a)remainder of  dividing p/q is assigned to p

2.(a) j*=k is equivalent to j=j*k

3.

(i)a=55

(ii)a=0

(iii)a=45

(iv)a=250

(v)a=10

4.

(i)0

(ii)1

(iii)1

(iv)1

(v)0


i hope this answers will satisfie you

please mark me as brainleist

thank you

Answered by Aishwarya98
0

1. The expansion of the Question is P= P%q

a) The remainder of p/q is assigned to p

2. a)  j=j*k

3. a) a=a+b = 50+5 =55

b) a=a%b = 50%5 = 0 (in turbo c) (if %d is given in printf function)

c) a=a-b = 50-5 = 45

d) a=a*b = 50*5 = 250

e) a=a/b = 50/5 = 10


4. if i=4, j=5, k=4

i) i<k => 4<4 is not possible (the loop will exit)

ii) i==k => possible (execute the next line of the program)

iii) j>=i => possible (the loop runs upto j times)

iv) j!=k => possible ( the loop runs upto null value of j)

v) i==j => impossible (the next line will break and exit)

Similar questions