Since resistance and current are inversely proportional, when the resistance doubles, the current is cut in half.
Answer:
The correct pseudocode to find the records of all citizens over the age of 50 is IF(age > 50).
OR EACH item IN citzlist
{
WHILE(not end of citzlist)
{
IF(age > 50)
{
DISPLAY(name)
}
}
}
If this is run, it will bring out all the names of the citizen who are over the age of 50 in the list.
Explanation:
Using e-mail to send messages is the best choice to convey urgent and highly sensitive information. E-mail is just a conversation between you and the recipient. So it is the best when it comes to when you are sending a highly sensitive information. While telephone fax letter and dispatch radio may need to use a mediator to transfer messages which violates the confidentiality of the information.
Answer:
# include <conio.h>
#include <iostream.h>
using namespace std;
main()
{
int billamount[12];
char monthname["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
<em>for (int month = 1 ; month<=12; month++)</em>
<em>{</em>
<em>cout<<"Enter the amount of bill for the month"<<month;</em>
<em>cin>>billamount[month];</em>
<em>}</em>
for (i=0; i<= 12; i++)
{
if (billamount[0]<billamount[i])
billamount[0]=billamount[i];
monthname[0]=monthname[i];
}
<em>cout<<"Maximum months phone bill"<<monthname[0]<<"="<<billamount[0]</em>
<em />
getch();
}
Answer:
Following code are:
int *temp; //declaration of variable
// perform swapping
temp = xp;
xp = yp;
yp = temp;
Explanation:
we declare an integer data type pointer variable "*temp" then perform swapping between them.
The variables "xp" and "yp" are already declared and these variables are performing swapping among three.