Computer Science, asked by kushwahasahil909, 8 months ago

Write the output of following code:
p=8.6
q=12
r=15
S=450
print (p+q)
print (p/2)
print (s//r)
print(q%5)​

Answers

Answered by amitduhan979
0

Answer:

your right and pront and too

Answered by shritik1605sl
0

Answer:

The output will be  20.6, 4.3, 30, 2

Explanation:

The output will be :

20.6

4.3

30

2

The special operator '%' returns the remainder. Where the data to the left side of the operator is dividend and the data to the right side is the divisor.

In the given program the mistake is that we didn't know what are the values in the output so we have to initiate some variables for storing and printing it so that we know what is actually going on in the program.

#SPJ3

Similar questions
Science, 8 months ago