0
How can it be run
#include <iostream> using namespace std; int main() { cout<<"I am 17 years old"; cout<<"There are 365 days in one year"; cout<<"convert my age in seconds"; int y=17; int d=365; int h=24; int s=17*365*24*3600; return 0; }
2 Antworten
+ 7
Haram Abbas ,
Note that,..
#Always use only relevant tags such as `c` ,instead of `int,2 a=`.
#your question is unclear, plz describe more what is your specific issue/what are you facing problem?
#According to your question...
1: The error in your code is that you forgot to include the `endl` statement at the end of each `cout` statement.
2:Missing `cout`
see this modified version...
https://code.sololearn.com/cWj59KoKCG6y/?ref=app
+ 1
Thanks for your help but now I got it 🥰