Odpowiedź :
Zad 2
#include <iostream>
using namespace std;
int main()
{
int a,b,suma;
cout << "Podaj Pierwsza liczbe: ";
cin >> a;
cout << "Podaj druga liczbe: ";
cin >> b;
suma = a+b;
cout << "Suma liczby " << a << " Oraz Liczby " << b << " Wynosi: " << suma;
return 0;
}
Zad 1
#include <iostream>
using namespace std;
int main()
{
cout << "*******\n";
cout << "**" << " " << "**\n";
cout << "* * * *\n";
cout << "* * *\n";
cout << "* *\n";
cout << "*******";
return 0;
}