1.
#include <iostream>
using namespace std;
int main()
{
int n, s = 0;
cin >> n;
s += n;
while (n != 0)
{
cin >> n;
s += n;
}
cout << s;
return 0;
}
2.
#include <iostream>
using namespace std;
int main()
{
for (int i = 10; i <= 99; i++)
{
if (i % 3 == 0)
{
cout << i << " ";
}
}
return 0;
}