subject

Find the sum of digits of number if the inputted number is prime, if number is not prime then print the nearest prime number. For example: if user inputs number = 17 then the output would be = 1 + 7 = 8 if user inputs number = 20 then the output would be = 23 (next prime to 20)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Aplan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedule.
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 24.06.2019 07:00
Selective is defined as paying attention to messages that are consistent with one’s attitudes and beliefs and ignoring messages that are inconsistent.
Answers: 1
You know the right answer?
Find the sum of digits of number if the inputted number is prime, if number is not prime then print...
Questions
question
Mathematics, 29.07.2019 14:00
question
Mathematics, 29.07.2019 14:00
Questions on the website: 13722362