Question: CHALLENGE ACTIVITY 3 . 1 5 . 1 : Character operations. 5 4 3 3 1 6 . 3 2 7 1 1 4 0

CHALLENGE
ACTIVITY
3.15.1: Character operations.
543316.3271140 q
Jump to level 1
A 3-character string, userPassword, is read from input. Replace the first character in userPassword with '-' if a digit. Replace the second character in userPassword with "' if the second character is a digit. If neither cond userPassword is not changed.
Ex: If the input is 148, then the output is:
-.8
#include
 CHALLENGE ACTIVITY 3.15.1: Character operations. 543316.3271140 q Jump to level 1

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!