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
just olya [345]
4 years ago
3

C++:

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

Answer:

// Program is written in C++ Programming Language

/) Comments are used for explanatory purpose

#include <iostream>

#include <string>

#include <cctype>

#include <ctime>

using namespace std;

int main() {

// Declare and accept input for string variable passCode

string passCode;

cin >> passCode;

// declaring character array

char ch[2];

// copying the contents of the string to char array

strcpy(ch, passCode.c_str());

// Iterate char arrray ch

for(int i=0; i<2;i++)

{

// Check if first and second element is an alphabet

if((ch[i]>='a' && ch[i]<='z') || (ch[i]>='A' && ch[i]<='Z'))

{

// Replace if the condition above is true

ch[i] = '_';

}

}

// Print passCode

for (int i = 0; i < n; i++)

cout << ch[i];

return 0;

}

Explanation:

You might be interested in
1)-----------------is always translated by the IF instruction.
kompoz [17]

Answer:

2) is C++

............

3 0
3 years ago
Which of the following hardware devices could you install without having to hire an experienced professional? Check all of the b
Alona [7]

MP3 Player

Explanation:

because it is easy to set up with some instructions to follow if you bought them

5 0
4 years ago
Read 2 more answers
Imagine that you only used assignment statements for the design of the seven-segment display decoder. How would you obtain the B
Basile [38]

Answer:

Please see the attached file for the complete answer.

Explanation:

Download pdf
6 0
3 years ago
What command displays detail information about the OSPF interfaces, including the authentication method?
statuscvo [17]
<span>The answer is Show IP OSPF interface

Hope this helped :)</span>
8 0
3 years ago
Read 2 more answers
Something which has a special meaning in a python programming language is termed as what?
Elis [28]

Answer:

Explanation:

A Dutch programmer named Guido van Rossum made Python in 1991.This also means Python is slower than a compiled language like C, because it to avoid changing the language to make it better until they have a lot of things to change.

Python is an interpreted, high-level and general-purpose programming language. Created by  This compact modularity has made it particularly popular as a means of  a rough transcription from another programming language is called unpythonic. It has fewer syntactic exceptions and special cases than C or Pascal.

plz mark as brainliest

6 0
3 years ago
Other questions:
  • This is not a factor that you should use to determine the content of your presentation. Your audience your goals your purpose yo
    7·2 answers
  • Which process best describes how you might prepare to apply for a job?
    6·2 answers
  • Name 8 different types of packages that are widely used​
    8·1 answer
  • Write Python programs to solve the following two problems. Your programs should be named according to the problem descriptions a
    9·1 answer
  • Given an 10-bit two's complement binary number, what is the decimal value of the largest negative integer that can be represente
    10·1 answer
  • A commuter swipes a public transport card at a kiosk and sees his account balance displayed on the screen. The commuter would be
    8·1 answer
  • (Shuffle rows) Write a method that shuffles the rows in a two-dimensional int array using the following header: public static vo
    12·1 answer
  • Which of the following is document content that displays at the top of every page?
    11·1 answer
  • Please tell fast plzzzzzz. ​
    10·2 answers
  • write HTML code to create a web page which will contain a title my favourite book as a centralised heading feluda somogro and bo
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!