<span>The second statement is the best description. If the original file is moved, hyperlinks will still take you to that file's page address, but the file will no longer be there to display. And embedded material won't be able to function.</span>
Hello <span>Tacobell5401</span>
Answer: A client-server application that requires nothing more than a browser is called thin-client application
Hope this helps
-Chris
In Python, assume that a file containing a series of integers is named numbers.txt and exist on the computer's disk. Write a program that reads the entire numbers store in the file and calculates their total.
Here is what I have written but it does not run:
def. main():
out file=open('numbers.txt','r')
temp=outfile.readline()
total=0
while temp!='':
t=int(temp)
total=total+i
temp=outfile.readline()
outfile.close()
print('Total sum is:',total)
main()
Text file is a file named numbers.txt with the numbers 1-50 in it
Learn more:
- The sum of three consecutive integers is 186. what are the integers
brainly.com/question/1768254
Keywords: python, integers, computer, numbers, program
Answer:
Explanation:
I'm going to write three examples in C language:
int main() {
int n, i, sum = 0;
printf("Enter the number: ");
scanf("%d", &n);
for (i = 1; i <= n; ++i) {
sum += i;
}
printf("Sum = %d", sum);
return 0;
}
int main() {
int n, i, sum = 0;
printf("Enter a number: ");
scanf("%d", &n);
i = 1;
while (i <= n) {
sum += i;
++i;
}
printf("Sum = %d", sum);
return 0;
}
int main() {
int n, i, sum = 0;
do {
printf("Enter a number: ");
scanf("%d", &n);
} while (n <= 0);
for (i = 1; i <= n; ++i) {
sum += i;
}
printf("Sum = %d", sum);
return 0;
}