Untitled
unknown
c_cpp
a month ago
343 B
0
Indexable
Never
#include <iostream> using namespace std; int main() { double numbers[] = { 7.5, 3.2, 15.0, 17.2, -3.3 }; cout << "Liczby podniesione do kwadratu:\n"; for (int i = 0; i < 5; ++i) { double square = numbers[i] * numbers[i]; cout << square << ", "; } cout << "\n\n"; return 0; }
Leave a Comment