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.
Jeremy should plan out a study schedule so he studies for 25 minutes and then takes a 5 to 10 min rest. He should also study his notes the day that he takes them so the info is solidified in his brain and also he should keep his notes and school things organized and keep track of everything.
Answer:
The correct answer to the question is option A "None of the mentioned"
Explanation:
Functional requirements describe the component of a system by verifying the functionality of the software, defines what function a system is likely to perform. It simply dictates to the system/software on how it must behave. For example, it commands software to display, for instance, User name, total orders placed, and a lot of other commands. It puts the computer/software to describe what the product has to do.
Nonfunctional requirements describe the general quality of a system describing how it works.
In the options above, Maintainability allows modification of applications, robustness allows a system to function well even after an interruption with an error command, and Portability allows easy running and the ability for software to be transferred easily, are all examples of non-functional requirements.
.
The answer is TRUE
With today’s compilers, as compared to the past , you can
write a program, compile it, and test it yourself. Basically, a compiler will
report problems it finds in your code. Upon seeing the errors generated, you
can correct it and recompile it until you get everything right.
Explanation:
11. True
12: Electronic Fund Transfer
13. True
14. I'm not sure but I think yes?..
(I'm not sure if your including number 15 but just in case, the full form of PIN is personal identification number)