Number-of-Pencils

A collection of 1 post

Number of Pencils

Problem One dozen pencils is 12. Write a program that calculates the number of pencils needed when N students enter the number of students, assuming that one pencil is distributed to each student. input A natural number N less than or equal to 1000 is entered in the first line. output Print the…