subject
Computers and Technology, 10.12.2021 21:00 nat8475

I need help with this and quick it's due tonight only question 9

Given a natural number, write a C ++ program that:
1. Displays the sum of even digits and the product of odd digits.
2. check if the first digit is equal to the last digit of n
3. construct the inverse formed only with odd numbers
4. calculate the number of digits 0 contained in n
5. check if n is a power of 10
6. Replace all even digits with an odd number 1 greater than it (next)
7. remove the odd digits from n
8. check that the number has all the digits equal
9. Displays the largest number that can be formed with the distinct digits that it has
contains n (eg for n = 25330727, 75320 will be obtained)

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, random286
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
image
Computers and Technology, 23.06.2019 08:00, hernandez09297
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
image
Computers and Technology, 24.06.2019 10:00, shrafe
Which two technologies support the building of single-page applications?
Answers: 2
You know the right answer?
I need help with this and quick it's due tonight only question 9

Given a natural number...

Questions in other subjects:

Konu
Social Studies, 15.01.2020 20:31