Question: help me to write c code Everybody! Cirno's math class is about to begin! Do your best to become a genius! Not only the


\
help me to write c code
Everybody! Cirno's math class is about to begin! Do your best to become a genius! Not only the math class, Cirno also operates a bus company "Gensokyo Bus", One day she wants to know how many passengers is onboard when the bus passes each station, but everybody knows cirno is a ". Baka" (a.k.a. an idiot), so please help her to calculate this. Problem: A bus left the Scarlet Devil Mansion (say, x station); A people boarded at the start At Hakugyokurou (say, y station), B left and C people boarded At Yakumo-san's house (say, z station), D people left; so how many passengers is on board after each station? To help cirno understand the number, please left-padding each number to 4 digits with a INPUT AND OUTPUT EXAMPLE Input One line contain 4 integers A B C D separated by space (0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
