Answer:
True
Explanation:
Computer is a device that is electronically designed to receive input, execute task on the input and give an output or resultant value. It's electronic hardware components are driven by a central software called the operating system. Input, output, memory and storage, and processor units are categories of the hardware components of the computer.
Peripheral hardware devices are externally attached to a computer system to maximise it's functionality. They are connected through extensions like ports, PCIe extensions etc.
Answer:
import random
print("Hello! I have a random number from 1 to 100! It is your job to try and guess it!")
number = random.randint(1,101)
guess = int(input("start to guess: "))
num_guesses = 1
while guess != number:
if guess > number:
print("lower")
guess = int(input("try again: "))
num_guesses +=1
elif guess < number:
print ("higher")
guess = int(input("start to guess: "))
num_guesses +=1
print("congrats it took you", num_guesses, "tries")
Explanation:
Answer:
Mendix is another word for appendix.
Explanation:
Answer:
void printC()
{
int i, j;
for (i = 0; i < 4; i++) //i indicate row number. Here we have 5 rows
{
printf("C"); //print C for every row
for (j = 0; j < 6; j++) //j indicate column number. Here we have 7 Rows
{
if (i == 0 || i == 4) //For first and last row
printf("C"); //print 'CCCCCCC'
else if (i = 1|| i= 3) //for Second forth row
printf("C + +"); //print 'C + +'
else if (i = 2) For second row
printf("C +++++"); //print 'C +++++'
else
continue; //to jump to next iteration
}
printf("\n"); // print in next line
}
}