Count Vehicle
CodeChefOpen on judge ↗
An automobile company manufactures both a two wheeler (TW) and a four wheeler (FW). A company manager wants to make the production of both types of vehicle according to the given data below: - 1st data, Total number of vehicle (two-wheeler + four-wheeler)=v - 2nd data, Total number of wheels = W ### Input - The candidate has to write the code to accept two positive numbers separated by a new li
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start