Code Experts
Home
Challenges
Notes
Compiler
Forum
Exam
Contact
Sign in
Sign up
Home
Challenges
Notes
Compiler
Exam
Forum
Contact
Log In / Register
Copied To Clipboard !
program to take a number and a digit from the user. and then findout that digit is coming how many times to that given number
write a program to take a number and a digit from the user. and then
findout that digit is coming how many times to that given number.
a.) int num1 = 122233
int digit = 2
Output :=> 3
b.) int num1 = 122345
int digit = 7
Outout :=> 0
Code :
122233 2
Total :
0 Discussion
Login
Code (Optional)
Upload Code Image (Optional)
Post Your Comment