Question: using c programming: I get a string of letters or number that in the middle there is a ','. Before the ',' there are several

using c programming:

I get a string of letters or number that in the middle there is a ','.

Before the ',' there are several letters or numbers and after the ',' there are some numbers.

The program needs to sum the letters or numbers that shown before the ',' and add to their ascii the number that is after the ','.

The program will continue running until it gets to EZPZ,1337.

for example:

for the input "a,1" ---> the output will be "b".

for the input "bc,12" ----> the output will be "ce".

for the input "12az,3210" ----> the output will be 44bz.

for the input "EZPZ,1337" ----> the program will stop here and not continue.

thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!