My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Fill in the order form to get the price
Subject
Select Subject
Programming & Computer Science
Math
Engineering
Economics
Physics
Other
Category
C++
Software Engineering
Java | JSP | JSF
Databases | SQL | Oracle | MS Access
C
Python
Excel
C#
Visual Basic
Computer Networks
Functional Programming
Android
Assembler
UNIX/Linux Programming
ASP | ASP.NET
MatLAB
Wolfram Mathematica
MathCAD
Maple
Perl
Action Script | Flash | Flex | ColdFusion
Ruby | Ruby on Rails
Prolog
Objective-C | Swift
Algorithms
Web Development
HTML/JavaScript Web Application
NodeJS Web Application
Other
Deadline
Timezone:
Title
*
Task
*
{"ops":[{"insert":"4.\u00a0Survival of the Biggest"},{"attributes":{"header":4},"insert":"\n"},{"insert":"by\u00a0CodeChum Admin\nLooping a number and taking away each digit of it is so much fun, but I wanted to try out a much more complex task: getting the largest digit among them all.\nThink you can handle the job?\n\n"},{"attributes":{"bold":true},"insert":"Instructions:"},{"insert":"\nInput a non-zero positive integer."},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"Using the same concept as the previous problem, figure out how to separate the digits of a number and determine which of the digits is the largest one, using a while. Afterwards, print the largest digit."},{"attributes":{"list":"ordered"},"insert":"\n"},{"attributes":{"bold":true},"insert":"Tip #1:\u00a0"},{"insert":"Create another variable that will hold the largest digit. Initial its value to a negative integer, like\u00a0-1, outside the loop."},{"attributes":{"list":"ordered"},"insert":"\n"},{"attributes":{"bold":true},"insert":"Tip #2:\u00a0"},{"insert":"Everytime you get the rightmost digit, check if it is greater than the current largest digit. If it is, set it as the new largest digit."},{"attributes":{"list":"ordered"},"insert":"\n"},{"insert":"Input\nA line containing an integer.\n214"},{"attributes":{"code-block":true},"insert":"\n"},{"insert":"Output\nA line containing an integer.\n4"},{"attributes":{"code-block":true},"insert":"\n"},{"insert":"\n"}]}
I need basic explanations
Special Requirements
Upload files (if required)
Drop files here to upload
Add files...
Account info
Already have an account?
Create an account
Name
*
E-mail
*
Password
*
The password must be at least 6 characters.
I agree with
terms & conditions
Create account & Place an order
Please fix the following input errors:
dummy