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; }

26th Oct 2023, 6:07 PM
Haram Abbas
Haram Abbas - avatar
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
26th Oct 2023, 6:19 PM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 1
Thanks for your help but now I got it 🥰
26th Oct 2023, 6:21 PM
Haram Abbas
Haram Abbas - avatar