0
Program to print" 3hrs 60min+ 2hr 40 min = 6 hrs 40 min".
want a program to print" 3hrs 60min+ 2hr 40 min = 6 hrs 40 min".
4 Antworten
+ 21
public class Program{
public static void main(String[] args){
System.out.print("3hrs 60min+2hrs 40 min = 6hrs 40 min"); }
}
//just joking
first make code by yourself & will correct it ... if error comes
1)take first input as number of inputs u want to take
2)sum inputs at even as well as odd positions separately
4)take division & % by 60 of sum of inputs at even posn
5)output quotient + sum of odd inputs &( sum of even inputs) %60
+ 1
hey if you want to this please whatsapp me at 7891864884
0
vivek take it simple bro...
0
this is very simple