ze.cpp x | (Global Scope) ahrenheitTemp.txt 29 crates file to write in 30 31 ofstrean outfle; 32 // 33 outfile.open("celsiustemperature.txt"); // if (1infile) ( cout "file cannot open." c endl; 34 35 36 37 38 39 else ( 40 El 41 42 while (infile cityname >> fahrenheit) ( 43 celefus -(int round ((LLabranbedt32)5)/(double)9); // 44 45 46 outfile dit yn bne << "" « celcius « endl; 47 48 // close both files infile.close(); outfile.close(): 49 50 51 52 53 return e; 54 100 %
ze.cpp x | (Global Scope) ahrenheitTemp.txt 29 crates file to write in 30 31 ofstrean outfle; 32 // 33 outfile.open("celsiustemperature.txt"); // if (1infile) ( cout "file cannot open." c endl; 34 35 36 37 38 39 else ( 40 El 41 42 while (infile cityname >> fahrenheit) ( 43 celefus -(int round ((LLabranbedt32)5)/(double)9); // 44 45 46 outfile dit yn bne << "" « celcius « endl; 47 48 // close both files infile.close(); outfile.close(): 49 50 51 52 53 return e; 54 100 %
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Line 44 is giving me a code c26451 can anyone help me with it

Transcribed Image Text:porto.com/hyperstream/#/client/MTM3Mzk3MzgAYwBlbmNyeXBOZWRIcmwtamRİYW==7q=pPs4bK
O Mail - Eddy, Matthe. * LastPass
1)
Fahrenheit Temp
Extensions Window
Help
Search (Ctrl+Q)
alyze Tools
- Local Windows Debugger - Auto
rce.cpp X
FahrenheitTemp.bxt
- (Global Scope)
26
29
crates file to write in
30
*/
31
ofstream outfile;
32
//
//
outfile.open("celsiustemperature.txt");
//
if (1infile) (
cout "file cannot open." « endl;
33
34
35
36
El
37
38
39
else (
40
41
while (infile cityname >> fahrenheit) (
42
43
celefus (int )round (((fahrenheite 32)5) / (double)9);
//
44
45
46
outfile 3ditynane << "" « celcius < endl;
47
}
// close both files
infile.close();
outfile.close():
48
49
50
51
52
53
return e;
}
54
100 %
Error List
Entire Solution
O 0 Errors
A 1 Warning O O Messages *
Build - Intellisense
Description
Arithmetic overflow: Using operator on a 4 byte value and then casting the result to a 8byte value Cast the velue
(io.).
Code
A C26451
Output Error List
op
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education