Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 (0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started