CSE 110 – Assignment #3 solution

$24.99

Original Work ?
Category:

Description

5/5 - (1 vote)

Maximum points: 20 pts
Topics • If statements (if, if-else, if-else if-else) • Expressions • String methods: indexOf (String), substring(int, int), compareTo(String), toUpperCase(), toLowerCase().
Use the following Guidelines: • Give identifiers semantic meaning and make them easy to read (examples numStudents, grossPay, etc). • Keep identifiers to a reasonably short length. • User upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercase word separators for all other identifiers (variables, methods, objects). • Use tabs or spaces to indent code within blocks (code surrounded by braces). This includes classes, methods, and code associated with ifs, switches and loops. Be consistent with the number of spaces or tabs that you use to indent. • Use white space to make your program more readable.
Important Note: All submitted assignments must begin with the descriptive comment block. To avoid losing trivial points, make sure this comment header is included in every assignment you submit, and that it is updated accordingly from assignment to assignment. Your programming assignments require individual work and effort to be of any benefit. Every student must work independently on his or her assignments. This means that every student must ensure that neither a soft copy nor a hard copy of their work gets into the hands of another student. Sharing your assignments with others in any way is NOT permitted. Violations of the University Academic Integrity policy will not be ignored. The university academic integrity policy is found at http://www.asu.edu/studentlife/judicial/integrity.html Don’t use any paid tutoring service online. We have strong connections to the world-wide proctors on the site, and if you use the commercial services, very serious penalty (expel, cheating academic history, etc) will be given.
© 2018 Yoshihiro Kobayashi