There are 3 different types of tags in a library: red, green, blue.

There are two different arrangement methods planned for the arrangement of the shelves, and 42 books can be arranged on these shelves. ( mathematical)

Lineup A: Red, green, blue books will be lined up in a row on a shelf.

Arrangement B: First, the red, then the green, and the last, the blue books will be lined up in an equal number on a shelf.

Use mathematical operations methods when writing the codes for this problem (eg addExact(a,b) instead of a+b)

Where's your attempt to solve this word and coding assignment?
Where are you stuck?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.