Computer Science, asked by surabhitewari123, 22 hours ago

a company donates 935 pencils to a school the pencils are divided in 9 classrooms
rest were donated to library
write a program to print how many pencils were donated to each in c++

pls answer fast thx​

Answers

Answered by lixes9106
2

Answer:

each of 9 classrooms will get 103 pencils each and 8 pencils have to be donated to the library.

Step-by-step explanation:

Total 935 donated pencils are to be divided among 9 classrooms, thus each classroom will get pencils

= 935/9

=103 pencil each

Total pencil consumed in 9 classroom = 927

Remaining pencils = 935 - 927 = 8 pencils left

Thus each of the 9 classrooms will get 103 pencils each and 8 pencils will be left, which has to be donated to the library.

Please mark it as the brainliest

Answered by Savi511980
0

Answer:

here we will use unitary method

Explanation:

pencils donate in 9 class rooms = 935

pencils donate in 1 class room = 935 /9

ans will be = 103.8888 approx.

Similar questions