Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности

Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
31.03.2017, 15:26
|
|||
|---|---|---|---|
|
|||
input to determine even and odd numbers |
|||
|
#18+
Hello all, I am new to c++ and I am currently taking a class, but my teacher doesn't really teach anything which is why I am soliciting help. My current problem is that I'm not sure sure how to go about to solve my problem. The problem: Ask user to input a positive integer then the output should show the odds and even numbers from the number entered Example, if the user inputs the number '1426' then my codes output should show the even numbers from the number entered. Even numbers entered: 2,4,6 It should also show the odd numbers as well. Example, if user inputs '134' then it should show.... Odd numbers entered: 1,3 Any help or tips would be very appreciative. Like i said, I'm only a month into my c++ class, so any help would be great. please help. Thanks. I didn't get the right answer from the internet. References: http://forums.codeguru.com/showthread.php?558911-input-to-determine-even-and-odd-numbers ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=57&tablet=1&tid=2018220]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
29ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
44ms |
get tp. blocked users: |
2ms |
| others: | 13ms |
| total: | 127ms |

| 0 / 0 |
