Find the error(s), if any 1) void main() { int a = 15; float b = 10; char cha = 'a'; char chb = 'b'; do{ a += b; a = a * b / 4; cout<
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Find the error(s), if any
1)
void main()
{
int a = 15;
float b = 10;
char cha = 'a';
char chb = 'b';
do{
a += b;
a = a * b / 4;
cout<<a<<b/a<<endl
cout<<cha;
for (int i=0; i<20; i++);
{
cout<<i;
}
}while(a=<1000)
};
2)
The following code should output the even integers from 2 to 100:
counter = 2;
do
{
cout << counter << endl;
counter += 2;
}
While ( counter < 100 );
Step by step
Solved in 4 steps with 1 images