Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

im not sure what im doing wrong, I've tried multiple ways and it either failes to compile or simply just doesn't compile as intended to.

im not sure what im doing wrong, I've tried multiple ways and it either failes to compile or simply just doesn't compile as intended to.
Please dont use: loops or brackets (for example: passCode[i] because my class hasn't covered this material.
we are only using if-else statements
the last photo shows what the program outputs when I typed the incorrect solution.
thank you for helping
image text in transcribed
image text in transcribed
image text in transcribed
A 3-character string. passCode, is read from input. Replace each digit character in passCode with".: Otherwise, passCode is not changed. Ex. If the input is 5pd, then the output is: - pd 2 3 3] 2 isdigit 0 is used to check if each character in passCode is a digit. All digit characters in passcode are then replaced with :.. Not all tests passed. 1: Compare output Output differs. See highlights below. Input

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago