Answer:
The program to calculate factor can be given as:
Program:
#include <stdio.h> //include header file
int main() //defining main function
{
int a,i; //defining integer variable
printf("Enter any number: "); //print message
scanf("%d",&a); //input value from user end
for(i=1;i<=a;i++) //loop for calculate factor values
{
if(a%i==0) //define condition for factor
{
printf("%d\n",i); //print values
}
}
return 0;
}
Output:
Enter any number: 15
1
3
5
15
Explanation:
In the above C language program the header file is include that provide the use of basic function, in the next line the main method is defined, inside this method two integer variable "a and i" is defined in which variable a is used to take value from user end and variable i is used in loop and conditional statement.
- In the next step, for loop is declare, that start from 1 and end with value of variable a, inside a loop, if block is used that checks (a%i==0), in this if variable i value modeler value equal to 0.
- The loop will use the print function that prints variable "i" element in a new line, which is the factor the values.
Answer:
The first option is incorrect
Explanation:
With the Control+C method, you copy the text. With the Control+V method, you paste it. You do not remove any of the text and instead create a duplicate
Answer:b)convergence.
Explanation: Convergence has the basic meaning as when two or more unit of anything meet to converge or join. In the research , the different types of the tools are brought togather and skills and compare them.The measurement is done through the tools which has the already defined parameters.
Thus this concept is the example of the convergence because the tools are being converged and compared.so, the correct answer is option (B) and other option are incorrect because they have the technique of the contrasting and separation and reading respectively.
Answer:
Print preview allows you to view your document before printing