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
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