The only function that allows a comparison among the options given is the IF statement. So for example, if you want to copy all values in column A to column B, but set all negative values in column A to zero: '= if(A1 <0,0,A1)'
Answer:
#include<stdio.h>
int GetLargest()
{
int a[100],n,largest;
printf("Enter number of elements\n");
scanf("%d",&n);
printf("Enter elements\n");
for(int i=0;i<n;i++)
scanf("%d",&a[i]);
i=0;
largest=a[i];
while(i<n)
{
i++
if(a[i]>largest)
largets=a[i];
}
return largest;
}
void main(){
int largest;
largest=GetLargest();
printf("Largest Number is %d",largest);
}
Explanation:
Here we define one function "GetLargest". This function reads n number of elements and finds the largest number among the n elements. Here we took one array and assumed first element is the largest element. if any element of the array is greater that that element we make that as larger and continues.at the end we are getting largest element in the n numbers and returning that to the main.
Question Completion with Options:
O tabs
O comma (,)
O colon (:)
O backtick (')
Answer:
In many UNIX/Linux data and configuration files are "fields". Sometimes these fields are separated by:
O tabs
O comma (,)
O colon (:)
Explanation:
A UNIX/Linux data and configuration file is a local program file that controls the operation of the program. Such files are usually static and are not created to be in executable binary. The files are stored in subdirectories. Backticks are not used to separate fields. But tabs, commas, and colons can be freely used. Configuration files, which are coded, provide the required parameters and initial settings to operate computer applications. Data files are not executable like configuration files but are used by applications as input and output data to be read or viewed.