Math, asked by saheelcool777, 2 months ago

We all know that a binary number is a number expressed in the base-2 numeral system or binary numeral
system, which uses only two symbols: typically "0" (zero) and "1" (one). For eg:- 3 written as 11,4 as 100,5 as
101 and so on.
Similarly this concept can be used to create base 3 and even base 5 form. For eg:- in base 3, 201 will be :-
3^212) + 3*1* (0) + 3^0* (1) = 18 + 1 = 19
What is the minimum number of coins you need so that you can make any number from 1 to 1000,​

Answers

Answered by gousy
0

Answer:

sorry I can't answer this question friend

Step-by-step explanation:

if u want give another question

Answered by dhingraakshay01
0

Answer:

1. Decimal to Binary

Coding

Description

Problem Statement

A binary number is a number expressed in the binary numeral system or base-2 numeral system which represents numeric values using two

different symbols: typically 0 (zero) and 1 (one). Computers understand the binary system of numbers, while humans tend to be more adept at the decimal system of numbers, where the

constituent number are from 0 to 9.

Write a program that takes a number of decimal format (a number of base 10) as input, and converts it into its binary equivalent.

To convert a number from decimal to binary, we write down the decimal number and divide it by 2. The remainder is noted, and the quotient is again divided by 2, until the original number has been divided to zero. Input Format

First line will contains an integer N.

Output Format

Display the binary string

Constraints

1<=N<1000

Evaluation Parameter

Sample Input 1

4

Sample Output 1

100

08

t

Similar questions