CULEGERE INFORMATICA Word [PDF]

  • 0 0 0
  • Gefällt Ihnen dieses papier und der download? Sie können Ihre eigene PDF-Datei in wenigen Minuten kostenlos online veröffentlichen! Anmelden
Datei wird geladen, bitte warten...
Zitiervorschau

LICEUL TEORETIC “SOLOMON HALITA”

PROBLEME DE INFORMATICA REZOLVATE ALGORITM SI PROGRAM C++ CLASA a IX‐a

2011

1

1.Ecuatia de gradul I Algoritm: start citeste a,b daca a=0 atunci daca b=0 atunci tipareste "x orice numar real" altfel tipareste "ecuatie imposibila" sfarsit daca altfel tipareste "x="‐b/a sfarsit daca stop Program: #include #include using namespace std; int a,b; int main() { couta; coutb; if(a==0) if(b==0) cout