Write a program in java to input an integer and print its smallest digit using for loop
Answers
Answered by
0
Answer:
#include<stdio.h>
int main ()
{
int num, reminder;
scanf ("%d", &num);
int smallest=num%10;
while (num > 0)
{
Similar questions