avatar
问几个菜问题2# Java - 爪哇娇娃
p*m
1
Question 2
Write a complete Java program that will prompt the user to enter: 1) a stude
nt name, and 2) a student number. After inputting the data, the program shou
ld calculate and output the number of odd digits in the student number. Som
e details:
Input: Input the name and student number via JOptionPane.
Do not use charAt() in your solution: Although string methods could be used
to solve this problem, our class has not yet covered string methods, and we
want you to solve this problem usin
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。