Language: C++

#include <bits/stdc++.h>                                                                                                                                                                                                                                                                                                                                                                                          using namespace std;                                                                                                                                                                                                                                                        int main() {                                                                                                                              string S; cin>>S;                                                                                                                     if(S=="Sunny") cout<<"Cloudy";                                                                                                        if(S=="Cloudy") cout<<"Rainy";                                                                                                        if(S=="Rainy") cout<<"Sunny";                                                                                                     }        

Compiler output:
a.cc:1:403: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++.h>                                                                                                                                                                                                                                                                                                                                                                                          using namespace std;                                                                                                                                                                                                                                                        int main() {                                                                                                                              string S; cin>>S;                                                                                                                     if(S=="Sunny") cout<<"Cloudy";                                                                                                        if(S=="Cloudy") cout<<"Rainy";                                                                                                        if(S=="Rainy") cout<<"Sunny";                                                                                                     }
      |                                                                                                                                                                                                                                                                                                                                                                                                                   ^~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status