C++ Basic 2018 (Batch-2)
764 subscribers
277 photos
11 videos
30 files
74 links
🎯 C++ Basic 2018 (Batch 2) - Pre-Engineering Edition
My second family of coders! 👨‍🎓👩‍🎓
Specifically for 2018 pre-engineering students finding C++ challenging.
We turn confusion into clarity, one concept at a time.
Join the struggle bus - destination
Download Telegram
To register for the premium class of C++, 👉 [@ProgrammingWithFaith_bot] 🎉
4
🙌
2
50 $ ያወጣ አለ ቤተሰብ high referal የፈልጋል እንጂ

100%Legit
👇
https://t.me/earncraft_bot/app?startapp=MTg3NjEyMjAyMV8x
2
To register for the premium class of C++, 👉 [@ProgrammingWithFaith_bot] 🎉
2
2
C++ Basic 2018 (Batch-2)
@ProgrammingWithFaith2018
2. Output: The product displays only if i+1 is an even number, unless there is no output. The array size is 5, but it has only 4 elements; therefore, 0 is automatically added as the fifth element. 🧮

(product = product * value[i])
- If i=0: product = 1 * 21 = 21. 0 + 1 = 1 is odd, so 21 will not be displayed.
- If i=1: product = 21 * 3 = 63. 1 + 1 = 2 is even, so 63 will be displayed.
- If i=2: product = 63 * 7 = 441. 2 + 1 = 3 is odd, so 441 will not be displayed.
- If i=3: product = 441 * 5 = 2205. 3 + 1 = 4 is even, so 2205 will be displayed.
- If i=4: product = 2205 * 0 = 0. 4 + 1 = 5 is odd, so there will be no output.
- If i=5: the condition will be false and it will not enter the loop. 🛑

FINAL OUTPUT: 63 2205 🏁

@ProgrammingWithFaith2018
3
Jum'ah Mubarak 🕌


@ProgrammingWithFaith2018
4🥰2