plz give the answer from the class 11 computer science ncert
write a program to input time in minutes and print the result in hours and minutes
plz only use the concepts and terms from the class 11 cbse ncert text .no other external references or whatever
it would be great if u would help me
Answers
Answered by
0
import Java .until
public class exercise
£
public static void main ( string arts[])
{
scanner in= new Scanner (System.in);
system.out.println("Input second");
int P1 = second%60;
int p2= second/ 60;
int p3 = p2 / 60;
p2 = p2/60;
system.out.println(p2 + ":"+p3+":"+P1);
system.out .println("/n");
}
}
Similar questions