L6 - C Program for Even and Odd numbers - Coding - TCS Ninja | TCS Digital

preview_player
Показать описание
This is the first lecture from the topic coding, where you will learn to find the given number is Even or Odd using modules operator and conditional statements.

Рекомендации по теме
Комментарии
Автор

Or, simply: cout << (number % 2 ? “Even” : “Odd”) << endl;

segatendo
Автор

Why not void main(), why should we use only int main() in C?

niyatibhatkal
Автор

Try to code like tcs coding program....where no extra fancy printf() for enter a no

zeeshanashraf
Автор

This was really helpful... great approach for solving questions...tysm✌️💯

rohitshelke