Answer:
The program to this question can be given as follows:
Program:
#include <stdio.h> //include header file for using basic function
int main() //defining main method
{
int strawsOnCamel=0; //defining integer variable and assign value
for(int i=1;i<=5;i++) //loop for increment integer variable value
{
//code
strawsOnCamel++; //increment value by 1
printf("%d\n", strawsOnCamel); //print value
}
return 0;
}
Output:
1
2
3
4
5
Explanation:
In the C language code above the header file is entered, and a whole variable strawsOnCamel is specified within the main method, which gives a value of 0.
- Then a for loop is defined inside a loop an integer variable i declared that starts from 1 and ends with 5.
- Inside a loop, the strawsOnCamel variable is used that increments its value by 1 and prints its value.
Answer:
Codes of conduct
Explanation:
Codes of conduct are a set of rules or norms established by an organization for all employees, students or users, to ensure individual responsibilities and proper practices. The code of conduct can cover overall behaviour of individuals in an organization, but a specific code of conduct can be developed for proper computer use in order to establish what is appropriate and available to use in the organization´s computers, and also to restrict or avoid non related content.
Modems create an analog signal that carries digital data on it,
and strip the digital data from an analog signal that they receive.
That's what's needed to connect through the telephone system,
since the telephone system is still one big analog system.
Answer: b. 11
Explanation:
//The initial value is 1
//let call the value as x
x = 1
//then the user updated the value to 10
//so now x is 10
x = 10
// and update the workflow to 11
//so now the value of x is 11
x = 11
even if the programmer print x, so the output will be 11