עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

צריך עזרה בתוכנית שפת c

Featured Replies

פורסם

יש להגדיר את המשתנים הבאים:

#define check2

בתרגיל זה הינכם מקבלים משתנה check2 שהינו מספר שלם יש להתחיל לסרוק את המספר משמאל לימין(לדוגמא 1234 יש להתחיל מבדיקת 1 עד שמגיעים לספרה 4).

במידה ופגשתם את הספרה 1 יש להחסיר מספרה זו 1 ומכל הספרות שמימין לה גם 1 (אין לחסר מהספרה 0).

יש לעבוד עם הערך שנמצא ב check2 (ישנה אפשרות להעתיק אותו למשתנה אחר שאינו מערך).

הפיתרון צריך להתאים עבור כל סוגי הקלטים (ולא רק עבור דוגמא ספציפית).

פורסם

בניגוד למעבר מימין לשמאל (שמתבצע ע"י חלוקה ב-10 וקריאה של שארית החלוקה) כדי לפרק מספר לספרות משמאל לימין אתה צריך קודם כל לבדוק את מספר הספרות שבו. תחשוב איך ממשיכם מכאן.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.