Skip to content

CoreTask#8: ConvertToBase10 - Submit Your Code #33

@ErSKS

Description

@ErSKS

Write a method named convertToBase10 that converts its <array, base> arguments to a base 10 number if the input is legal for the specified base. If it is not, it returns -1.Your convertToBase10 method must call the isLegalNumber method. Function signature is: int convertToBase10(int[ ] a, int base)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions