Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Prog_4.c A friend of yours has send the password for his assignment by email. For security reasons he hidden it to a string of a

image text in transcribed
Prog_4.c A friend of yours has send the password for his assignment by email. For security reasons he hidden it to a string of a 1000 characters. The string is consisting of letters, numbers and symbols. Write a program called prog_4.c that will read the string, store it to an array and output the password. The password is only consisting by numbers. In order for a number to be part of the password it should be placed between the symbols "". Input: aC2*&3415/kyu&^?jku6754 Output: 1234 Points: 1.5 Sample runs: please enter some text: aC2*&342/BoP89 ac2"&342/@oP89 The password is: abc Process exited after 1.889 seconds with return value Press any key to continue... please enter some text: aC2*&3415/kyu&*?jku6754 ac2*83415/kyu&^ ? jku6754 The password is: 1234 Process exited after 2.089 seconds with return value o Press any key to continue

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

Students also viewed these Databases questions