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:
There are two ways to insert the new column or row in the table.
Explanation:
<u>Method I</u>
i. Select the cell where you want to add a new row or column,
ii. Click on Home Tab
iii. Find insert button in Cells Group.
iv. Click on Insert Row or Insert Column button.
By following above mentioned steps we can add a row or column in Excel sheet.
<u>Method II</u>
i. Select the cell where you want to add a new row or column,
ii. Right Click on the selected Cell.
iii. Find Insert Button in drop down menu and Click on Insert.
iv. There are four options in POP menu, choose Entire Row or Entire Column to insert row or column.
Answer: The Internet started in the 1960s as a way for government researchers to share information. ... This eventually led to the formation of the ARPANET (Advanced Research Projects Agency Network), the network that ultimately evolved into what we now know as the Internet.
Have a nice day ahead :)
Answer:
Two systems are connected by a router. Both systems and the router have transmission rates of 1,000bps. Each link has a propagation delay of 10ms. Also, it takes router 2ms in order to process the packet (e.g. decide where to forward it). Suppose the first system wants to send a 10,000 bit packet to the second system. How long will it take before receiver system receives the entire packet.
Transmission time for first Router = 10,000 bits / 1000 bps = 10 seconds
Receiving time for seond route r= 10,000 bits / 1000 bps = 10 seconds
Propagation delay = 10ms = .01 seconds x 2 for two delays = .02 seconds
First router 2ms to process = .002 seconds
Add all the times together and we get 20.022 seconds which is the same as or 20 seconds and 22 ms