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:
Cache is the fastest and most expensive, RAM is slower and less expensive, and virtual memory is the slowest and least expensive type.
Explanation:
Answer:
See the below the answer written in Matlab
Explanation:
function inches=feetToInches(feet)
prompt='enter the value of feet in digits';
feet=input(prompt)% ask for the value in feet that needs to be converted to inches
inches =feet*12; % converts feet to inches
x=['the value in inches is: ',num2str(inches)];
disp(x) %display the result of the convertion
end
The turf below may turn yellow and even die as a result of persistent clumps of clippings. The silo effect is the name given to this phenomenon.
<h3>What is the business silo effect?</h3>
The term "silo effect," which is used frequently in the business and organizational communities to describe a lack of communication and shared objectives between departments in an organization, is used to describe this situation. Employee groups that typically operate independently within an organization are referred to as silos.
<h3>Silo mentality definition?</h3>
A silo mentality occurs when different teams or team members within the same organization purposefully withhold important information from other employees. This silo mentality undermines a company's unified vision and prevents long-term objectives from being reached.
To know more about clumps of clippings visit:-
brainly.com/question/29454362
#SPJ4