Question: CSE 1 2 8 4 : Introduction to Computer Programming home > 3 . 1 : String basics zyBooks catalog CHALLENGE ACTIVITY 3 . 1
CSE : Introduction to Computer Programming home : String basics
zyBooks catalog
CHALLENGE
ACTIVITY
: String basics.
qxzay
Jump to level
Read string personname from input. Then, read numcoins from input, using int to convert the input read to an integer.
Click here for example
Ex: If the input is:
Joy
then the output is:
Joy lost coins, so remain
personname Joy
numcoins
prentpersonname, 'lost coins, so numcoins 'remain'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
