Deutsch
Telegram

Thread/cpp_gcc@rextester_bot

4 Nachrichten · –
C
C++ vs Python
/cpp_gcc@rextester_bot
    1. C
      C++ vs Python
      #include <bits/stdc++.h> using namespace std; double f1(double m, double k){ if(fabs(k+1)>(m-2)){ return sin(k+3-m);} else if(fabs(k+1)<=(m-2)){ return cos(k+3-m);} int main () double m, k, p; cin>>m>>k; p=f1(m, k); cout<<p; return 0; } /stdin 1 2
      1. G
        Errors: 506664384/source.cpp: In function ‘double f1(double, double)’: 506664384/source.cpp:9:1: error: expected initializer before ‘double’ double m, k, p; ^~~~~~ 506664384/source.cpp:11:1: error: ‘p’ was not declared in this scope p=f1(m, k); ^ Tip: Mistake? Edit your message, I'll adjust my response.
CC++ vs PythonC++ vs Python@cpp_vs_python · Gruppe · Technik
114Mitglieder39 409Nachrichten im Index
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir