![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 25.11.2019 21:31 natetheman7740
Two files named numbers1.txt and numbers2.txt both have an unknown number of lines, each line consisting of a single positive integer. write some code that reads a line from one file and then a line from the other file. the two integers are multiplied together and their product is added to a variable called scalar_product which should be initialized to zero. your code should stop when it detects end of file in either file that it is reading. for example, if the sequence of integers in one file was "9 7 5 18 13 2 22 16" and "4 7 8 2" in the other file, your code would compute: 4*9 + 7*7 + 8*5 + 2*18 and thus store 161 into scalar_product.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 22:10, nawaphon1395
Is the following an example of social media viral marketing? indicate your response by selecting yes or no. when you sign onto your favorite social networking website, you get messages from friends who have seen a television show they thought was a "must see! "
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:50, kmart4062
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
You know the right answer?
Two files named numbers1.txt and numbers2.txt both have an unknown number of lines, each line consis...
Questions in other subjects:
![Konu](/tpl/images/cats/biologiya.png)
Biology, 26.05.2021 03:30
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 26.05.2021 03:30
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 26.05.2021 03:30
![Konu](/tpl/images/cats/mat.png)
Mathematics, 26.05.2021 03:30
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
English, 26.05.2021 03:30