Untitled
unknown
plain_text
a month ago
280 B
3
Indexable
Never
#include <iostream> using namespace std; int main() { float tab[5]; float a=23, b=12.1,c= 53.5, d=42.8, e=63.7; tab[0]= a * a; tab[1] = b * b; tab[2] = c * c; tab[3] = d * d; tab[4] = e * e; for (int i = 0; i < 5; i++) { cout << tab[i]<<endl; } }
Leave a Comment