Answer:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(void)
{
srand(time(NULL));
int num1, num2;
int val;
while (true)
{
num1 = rand() % 100 + 1; //Random number between 1-100
num2 = rand() % 100 + 1; //Random number between 1-100
if (num1 >= num2)
{
printf("%d - %d = ", num1, num2);
scanf("%d",&val);
if (val == num1-num2)
{
printf("Correct!\n");
}
else
{
printf("Incorrect!\n");
}
}
else
{
printf("%d - %d = ", num2, num1);
scanf("%d",&val);
if (val == num2-num1)
{
printf("Correct!\n");
}
else
{
printf("Incorrect!\n");
}
}
}
}
Explanation:
First, we create two random numbers and save the values. Then we check to see which value is larger. Based on that, we change how we display the format to the user. Then we check to see if the user input number is equivalent to the subtraction problem. If it is, we display Correct! Else, we display Incorrect!
Cheers.
The appropriate response is Bus Interface Unit or BIU. The BIU gives different capacities, including era of the memory and I/O addresses for the exchange of information between outside the CPU, and the EU.
The EU gets program direction codes and information from the BIU, executes these guidelines, and store the outcomes in the general registers. By passing the information back to the BIU, information can likewise be put away in a memory area or kept in touch with a yield gadget. Note that the EU has no association with the framework transports. It gets and yields every one of its information through the BIU.
Answer:
the man behind the murder
Answer:
57
Explanation:
Since the 5 and the 7 don't represent integers instead they represent strings so it would come out as 57 hope I helped!