Answer:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
int arr[100];
int i = 0;
int j = 0;
char c[10];
char temp;
int sum = 0;
FILE* fp;
if ((fp = fopen("test.txt", "r")) == NULL) {
printf("cannot open the file");
return;
}
else {
do {
temp = fgetc(fp);
if (temp == ' ' || temp == '\n') {
c[j] = '\0';
arr[i++] = atoi(c);
j = 0;
continue;
}
c[j++] = temp;
} while (temp != EOF);
for (j = i - 1; j >= 0; j--) {
printf("%d\n", arr[j]);
}
}
getchar();
}
Explanation:
Answer:
The Answer Is False Because They Aren't Called Peripherals
A tasks are suitable for creating an algorithm are:
- giving directions to a location.
- solving a math problem.
- tracking money in a bank account.
- tracking the number of items in inventory.
<h3>What is algorithm?</h3>
An algorithm is known to be a form of a procedure that is often employed in the act of solving a problem or carrying out a computation.
Note that in the case above, A tasks are suitable for creating an algorithm are:
- giving directions to a location.
- solving a math problem.
- tracking money in a bank account.
- tracking the number of items in inventory.
See options below
giving directions to a location
saving time writing a computer program
solving a math problem
tracking money in a bank account
tracking the number of items in inventory
Learn more about algorithm from
brainly.com/question/24953880
#SPJ1
Answer:start a blog. I read the book.
Explanation:
Answer:
A computer helps accountants store and access financial records, make changes and alleviate the need to keep paper files. If paper work is needed, computer files can easily be accessed and printed along with any changes the accountant makes at any given time.