1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ymorist [56]
4 years ago
6

Replace any alphabetic character with '_' in 2-character string passCode. Ex: If passCode is "9a", output is: 9_

Computers and Technology
1 answer:
oksian1 [2.3K]4 years ago
4 0

Answer:

if(isalpha(passCode[0]))

{

passCode[0] = '_';

}

if(isalpha(passCode[1]))

{

passCode[1] = '_';  

}

         

Explanation:

The first if statement uses isalpha() function which checks if the character passed in this function is an alphabet. If the character stored in 0-th position (which is the first position whose index is 0) of the variable passCode is an alphabet then it is replaced with the '_'

The next if statement checks if the second character in the passCode variable is an alphabet. This means the function isalpha() checks if the character stored in second position (index 1) of the variable passCode is an alphabet then it is replaced with the '_'

The  complete activity with this chunk of code added and the output is attached in a screen shot.

You might be interested in
Interest groups are a new political force never envisioned by the Founders. simply reflect the conflictual nature of American po
DiKsa [7]

Answer:

simply reflect the conflictual nature of American politics.

Explanation:

Interest groups simply reflect the conflictual nature of American politics.

3 0
3 years ago
Describe three different camera shots the director uses in Casablanca. What effect does each of these shots have on the plot, mo
Tcecarenko [31]
The movie Casablanca was considered as the standard for Classic Hollywood Movies. Below are the three different camera shots used by the Director in the movie:
1. The point of View Shot: also referred as POV shot. It is the camera shot where it shows what the character or the subject looking at in the film.
2.  Wide Shot: it also termed by others as the long shot or full shot. In the movie, it is the shot from a distance so the people or the characters will appear as indistinct shapes.
3. High angle Shot: In the film, it is the type of shot wherein the camera is placed above the subject with its lens pointing downward to make the subject small. Typically used in horror movies.
6 0
3 years ago
What specific type of tools can assist teams by identifying attacks and indicators of compromise by collecting, aggregating, and
Vladimir [108]

Answer:

The specific type of tools that can assist teams by identifying attacks and indicators of compromise by collecting, aggregating, and correlating log and alert data from routers, firewalls, IDS/IPS, endpoint logs, Web filtering devices, and other security issues are:

1. Arachni

2. Grabber

3. Iron wasp

4. Nogotofail

5. SonarQube

6. SQLMap

7. W3af

8. Wapiti

9. Wfuzz

10. ZedAttack Proxy Zap

Explanation:

The testing tool is capable of uncovering a number of vulnerabilities, to scan small web applications, to uncover over 25 types of web application vulnerabilities, to detect TLS/SSL vulnerabilities and misconfigurations, to measure the source code quality of a web application, to detect and utilize SQL injection vulnerability in a website’s database, to find over 200 types of security issues in web applications, to check web applications for security vulnerabilities.

The security testing tool supports command-line access for advanced users can also be used to intercept a proxy for manually testing a webpage.

5 0
3 years ago
You are able to drag a cell to a new location by pointing to the cell border until the pointer displays a _______ arrow, and the
ivann1987 [24]
I think its D, double-headed if I remember right. If this is brainiest can you mark it, please! I am trying to rank up. Thanks, hun!
7 0
3 years ago
Read 2 more answers
The transitions between slides in a presentation are one type of powerpoint ____.
slava [35]
The transitions between slides in a presentation are one of type of power point 
Animation.
Animation is a set of effects which can be applied to objects in power point  so that they will animate in the slideshow power point.motion paths allow objects to move around the slide show.
4 0
3 years ago
Other questions:
  • Which statement is used to create a file object that will append data to an existing file? BufferedWriter salesdata =
    9·2 answers
  • True or false? malware problems and other compromises of your computer information are rare.
    15·1 answer
  • The number of bytes in an array is always a multiple of the number of ____ in an array.
    6·1 answer
  • In addition to analyzing logic and program code, a project team usually holds a session with users, called a ____ walkthrough, t
    6·1 answer
  • What is the full form of RAM. ​
    5·2 answers
  • How to delete Brainly account ?​
    12·1 answer
  • Select the correct answer.
    9·1 answer
  • Python;
    6·1 answer
  • Function of pons for class 7​
    15·1 answer
  • Walter has an associate's degree in computer science and aspires to become a web developer. Which certification will help enhanc
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!