Computers and Technology, 08.11.2019 00:31, arugg2k24
Write a function maxtemp which takes a filename as string argument and returns the maximum temperature as float type for the week. input file will contain temperature readings for each day of the week. your function should read each line from the given filename, parse and process the data, and return the required information. your function should return the highest temperature for the whole week. empty lines do not count as entries, and should be ignored. if the input file cannot be opened, return -1. remember temperature readings can be decimal and negative numbers. each line of the file contains two elements, separated by commas day, temperature monday,52 note: the split() function is provided, and functions as it does in the homework assignments, to make parsing the output easier. recall that split takes a string s and splits it at the input delimiter sep, to fill the array words[] up to a capacity of max_words. the return value of split is the number of actual words the string is split into.
Answers: 1
Computers and Technology, 21.06.2019 21:30, willwhitlock803
Answers: 2
Computers and Technology, 25.06.2019 09:20, abolton04
Answers: 2
Computers and Technology, 21.09.2019 11:50, clmorcutt420
Answers: 1
Write a function maxtemp which takes a filename as string argument and returns the maximum temperatu...
Spanish, 17.01.2020 18:31
English, 17.01.2020 18:31
Spanish, 17.01.2020 18:31
Mathematics, 17.01.2020 18:31