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".

10th Jan 2018, 11:34 AM
Vivek Mishra
Vivek Mishra - avatar
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
10th Jan 2018, 12:04 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
hey if you want to this please whatsapp me at 7891864884
10th Jan 2018, 5:21 PM
Praveen
Praveen - avatar
0
vivek take it simple bro...
12th Jan 2018, 2:00 PM
Harsh Agrawal
Harsh Agrawal - avatar
0
this is very simple
5th Feb 2018, 3:52 PM
Raj gupta
Raj gupta - avatar