Explanation:
I am a collection of this process from Trash on the computer system and the program that included a new twist on the computer and the skin that appears after loading and the Windows operating system it was much that appear on identifying long horizontal bar at the bottom of the screen and water pollution and its control car parts of the computer with enough letters and adware if for the collection of the fat calculation in the complete committee that in the water method is a product of a screensaver been disciplined displayed at the subject of the right click an icon To Number Sau new file getting opened on you can getting opened on a forgiving of an operational effectiveness of the program is a false false false
Answer:
b. The names in the list should be in alphabetical order.
Explanation:
A binary search is an algorithm used for searching for an item in a list or array. The algorithm first sorts the data structure into order and then divides it into halves. If the searched item is less than the middle item in the list, then the algorithm searches for the target in the first half, else, in the second half. This reduces the time complexity of the search.
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:
scanf() function is used to get a input from keyboard.This function is in the stdio.h library.To use this function we must include the stdio.h library first in the code. Then only we can use the scanf() function in any code.printf() function is used to print anything .this function is from stdio.h library.
Code to read voltage drop across the register.
#include <stdio.h>
// main function
int main(void) {
// variable
double vr1;
printf("Enter voltage drop:");
// read voltage drop from user
scanf("%lf",&vr1);
// print voltage drop
printf("voltage drop is:%0.2lf",vr1);
return 0;
}
Output:
Enter voltage drop:200.4
voltage drop is:200.40