coś nie pykło. #include #include using namespace std; #include int main() { float a,b,suma; printf("program obliczający sume dwóch liczb, a i b")<printf("podaj liczbe a ")<cin>>a; printf(" podaj liczbę b )"<cin>>b; suma=a+b; printf(" suma dwóch liczb a i b wynosi "<getch(); ;return 0; }
Nie robimy tego w ten sposób. Jak już printf to printf, wiec żadn << i żadne endl, po prostu printf("Koty sąmiękkie\n"); \n robi nową linię, nie jakieś tam <