1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
pychu [463]
3 years ago
6

A positive integer is called a "self-divisor" if every decimal digit of the number is a divisor of the number, that is, the numb

er is evenly divisible by each and every one of its digits. For example, the number 128 is a selfdivisor because it is evenly divisible by 1, 2, and 8. However, 26 is not a self-divisor because it is not evenly divisible by the digit 6. Note that 0 is not considered to be a divisor of any number, so any number containing a 0 digit is NOT a self-divisor. There are infinitely many self-divisors.
Mathematics
1 answer:
Dmitriy789 [7]3 years ago
4 0

Answer:

// Program is written in C++

// Comments are used for explanatory purpose

// Program starts here

#include<iostream>

using namespace std;

int main()

{

//Declare Variable

int number;

// Prompt to enter a positive number

cout<<"Enter a positive number: ";

cin>>number;

// Test if number is positive

if (number > 0)

{

// Test for self divisibility

// Get length of number

string str = to_string(number);

int length = str.length()

// Convert number to array

int Num[length];

for (int i = length-1; i >= 0; i--) {

Num[i] = number % 10;

number /= 10;

} int checkdiv = 0;

// Check for divisibility

for(int I = 0; I<length-1; I++)

{

if(Num[I] == 0 || Number%Num[I] != 0)

{

checkdiv++;

}

}

if(checkdiv == 0){ cout<<"Number is self divisor";}

else { cout<<"Number is not self divisor";}

}

else

{

cout<<"Number can't be less than 0";

}

return 0;

}

// End of program

You might be interested in
Factor 16x^3+16x^2+3x
oee [108]

Answer:

x(4x + 3)(4x + 1).

Step-by-step explanation:

16x^3 + 16x^2 + 3x

First take out the x:

= x(16x^2 + 16x + 3)

= x(16x^2 + 4x + 12x + 3)

= x(4x(4x + 1) + 3(4x + 1))

= x(4x + 3)(4x + 1)  (answer).

8 0
4 years ago
4. write the following in standard form<br> four hundred, thirty - two thousand, six hundred eight
Keith_Richards [23]
The answer is 432,608
6 0
3 years ago
A cube has a side length of 13 millimeters.What is the surface area of the cube?
wel
Surface area of a cube is n^2, n being the measurment of any one side of the cube. In this case, 13x13=169, so the answer is 169 mL^2.
8 0
3 years ago
Which inequailities has no solution? I need this to be answer ASAP!
Nadusha1986 [10]
Let's simplify them top to bottom.

6(x + 2) < x - 3
6x + 12 < x - 3
5x + 12 < -3
5x < -15
x < -3
This one checks out.


3 + 4x <= 2(1 + 2x)
4x + 3 <= 4x + 2

This is a problem. In no world is 4x + 3 ever less than or equal to 4x + 2. This one has no solution.


3 0
3 years ago
Pls help me answer this question
alexandr402 [8]

Answer:

I think its the second one

Step-by-step explanation:

3 0
3 years ago
Other questions:
  • Please explain how to do these questions: <br><br><br> Thank You
    13·1 answer
  • How do you tell if a graph is a function
    7·2 answers
  • Emma buys and sells truck parts. She bought two tires for $35.00 each and later sold them for $65.00 each. She bought three rims
    15·1 answer
  • 1. Is the relationship shown by the data linear? If so, model the<br> data with an equation.
    12·1 answer
  • The profit (P) in dollars, for a company is modeled by the function P(x)=-750x^2+15,000x,where x is the number of items produced
    10·1 answer
  • Which of the following illustrates the associative property of multiplication?
    8·1 answer
  • A bird flies from the bottom of a canyon that is 87 7/10 feet below sea level to a nest
    13·1 answer
  • What is the divisor of 50=25 x 2 + 0
    8·1 answer
  • What is 4^4 . 4^6 please help​
    15·1 answer
  • The question is after the graph but please help me on this question; also is the person traveling in section d if so how much?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!