Computer Science, asked by arushbasu, 5 months ago

Write a program in java to input an integer and print its smallest digit using for loop​

Answers

Answered by aditiggaonkar
0

Answer:

#include<stdio.h>

int main ()

{

int num, reminder;

scanf ("%d", &num);

int smallest=num%10;

while (num > 0)

{

Similar questions