Computer Science, asked by nikhithakalakuntla, 8 hours ago

6.
5
Write a program to check if a given input number is a Meraki number. A number is called
Meraki number if all adjacent digits in it differ by 1. All single digits are considered as Meraki
number. Some examples of Meraki number are 0, 5, 10, 12, 79, 567, 101,
6787, 21012. Inmain a function, print "yes" or "no" if the input number is Meraki or
pot. Your program must contain a user programmer-defined function Meraki_helper (int
n) which returns 1 if nis Meraki number, otherwise it returns 0.​

Answers

Answered by ritarashigupta
1

Answer:

sorry I don't know answer

Similar questions