Answer:
Code which is pasted in the place of "/* Your solution goes here */":
if (isalpha(passCode[0])) // if statement for the first character of the passcode string.
passCode[0]='_';
if (isalpha(passCode[1])) // if statement for the second character of the passcode string.
passCode[1]='_';
Output:
- If the user gives input as '4h', then it will prints '4_'.
- If the user gives input as 'a8', then the output is '_8'.
Explanation:
Missing information:
- There is a three header file missing in the question programming code which names as the "cctype", 'iostream', 'cstring'.
Code Explanation:
- The above code is in c++ programing language, which is pasted on the place of "/* Your solution goes here */", which is written in the question part.
- The first if-statement checks the first character of the string that it is a charter or not if it is a character then replace the character with an underscore.
- The second if-statement is used to check the second character of the staring that is it a character or not if it then replaces the character with an underscore.
Answer:
a. nonsubversion
Explanation:
Codd has 12 rules for relational databases which can be used in recent times to describe how Structured Query Language server operates.
The rule no 12 is the Non-Subversion Rule which states that if a system supports a low-level language, then that language will not be used to subvert the integrity rules that are being expressed in relational languages that are of higher levels
The best
windows software tool to use when someone wants to establish baselines is performance
monitor. Windows Performance Monitor makes use of the following which can be combined into
sets of data collector:
1. Performance counters
2. Event trace data
<span>3. Configuration information</span>
Answer:
public class num6 {
public static void main(String[] args) {
int n = 4;
for(int i = 1; i <= n; ++i) {
for(int j = 1; j <= i; ++j) {
System.out.print("* ");
}
System.out.println();
}
}
}
Explanation:
This solution is implemented in Java
Two for loops are required for this (an inner nd outer for loop).
The innner and outer for loops can be seen as implementing rows and columns (so on the first 'row' i=1, so a single star is printed, on the second row, i =2, two stars are printed and so on, all on seperate lines)