Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- הגדרת מערך ללא אתחול והשמת ערכים בגוף התוכנית
- */
- int numbers[5];
- void setup() {
- Serial.begin(9600);
- for (int i = 0; i < 5; i++) {
- numbers[i] = i*i+2*i+1;
- Serial.print("numbers[");
- Serial.print(i);
- Serial.print("]=");
- Serial.println(numbers[i]);
- }
- }
- void loop() {
- // put your main code here, to run repeatedly:
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement