Answer:
#include <stdio.h>
void interchangeCase(char phrase[],char c){
for(int i=0;phrase[i]!='\0';i++){
if(phrase[i]==c){
if(phrase[i]>='A' && phrase[i]<='Z')
phrase[i]+=32;
else
phrase[i]-=32;
}
}
}
int main(){
char c1[]="Eevee";
interchangeCase(c1,'e');
printf("%s\n",c1);
char c2[]="Eevee";
interchangeCase(c2,'E');
printf("%s\n",c2);
}
Explanation:
- Create a function called interchangeCase that takes the phrase and c as parameters.
- Run a for loop that runs until the end of phrase and check whether the selected character is found or not using an if statement.
- If the character is upper-case alphabet, change it to lower-case alphabet and otherwise do the vice versa.
- Inside the main function, test the program and display the results.
Answer:
Code completion.
Explanation:
The NetBeans is an integrated development environment framework of java language. Code completion is the features of NetBeans which is easier to complete the code This feature is known as smart code features because it completes the code in a very easy manner. The Code completion features are needful when we have to fill the missing code or program in the java language.
Hence Code completion. is used to enter the name into the code in the NetBeans.
Answer.
True
Explanation
According to Occupational Safety and Health Administration, aerial lifts should have load capacity ratings posted to indicate the amount of weight in a clearly marked sign. The signs posted will clearly show the elevated surface load capacity as an element of hazards management at worksites.