Problem addition
User skibidininja98
Submission Time 2024-06-18 10:25:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:5:23: error: cast from ‘const char*’ to ‘int’ loses precision [-fpermissive]
5 | int num1; (const int)"Enter the first number";
| ^~~~~~~~~~~~~~~~~~~~~~~~
addition.cpp:6:23: error: cast from ‘const char*’ to ‘int’ loses precision [-fpermissive]
6 | int num2; (const int)"Enter the second number";
| ^~~~~~~~~~~~~~~~~~~~~~~~~