ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

IBM HACKERRANK CODING SOLUTIONS

IBM HACKERRANK CODING SOLUTIONS

前往频道在 Telegram

We provide help for all Exams... Anyone can contact me @AK_Coder for Exam clearance and interviews Trusted ✅

显示更多
未指定国家未指定类别
4 420
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
Kai hai kya paid Jo help kar payoge
17 2月 2022, 12:24

From tcs
06 3月 2022, 08:37

Repost from TCS PRA SOLUTIONS
28 3月 2022, 02:21

answer
09 2月 2022, 05:19

🔴Done with 2:30PM 25th march TCS off campus Exam 🤩🤩✨Premium group members all done with today exam 💯clearance done We help limited slots n give 100% results🤩 al the time ✨✨✨✨✨✨✨✨✨✨✨✨✨
25 3月 2022, 08:32

09 2月 2022, 03:00

Does any one have tcs off campus written test
03 3月 2022, 04:50

8pm slot can contact me @AK_Coder
05 1月 2023, 08:38

02 9月 2023, 09:57

🌷
22 6月 2022, 14:31

import java.util.*; import java.lang.*; public class Solution { public static void main(String args[] ) throws Exception { List<Toy>list=new ArrayList<>(); Scanner sc=new Scanner(System.in); String num=sc.nextLine(); int n=Integer.parseInt(num); for(int i=0;i<n;i++) { String id=sc.nextLine(); String name=sc.nextLine(); String quantity=sc.nextLine(); Toy toy=new Toy(Integer.parseInt(id),name,Double.parseDouble(quantity)); list.add(toy); } double avg=findAverageQuantityOfToy(list); System.out.println("Average quantity:"+avg); int id=sc.nextInt(); Toy toy=searchToyById(list, id); if(toy!=null) { System.out.println("id-"+toy.getId()); System.out.println("name-"+toy.getName()); System.out.println("quantity-"+toy.getQuantity()); } else { System.out.println("No Box found with the mentioned attribute"); } } //Method1 public static double findAverageQuantityOfToy(List<Toy>list) { double sum=0; for(int i=0;i<list.size();i++) { sum+=list.get(i).getQuantity(); } return sum/4; } //Method2 public static Toy searchToyById(List<Toy>list,int id) { Toy toy=null; for(int i=0;i<list.size();i++) { if(list.get(i).getId()==id) toy= list.get(i); } return toy; } } class Toy { private int id; private String name; private double quantity; public Toy(int id,String name,double quantity) { this.id=id; this.name=name; this.quantity=quantity; } public void setId(int id) { this.id=id; } public int getId() { return id; } public void setName(String name) { this.name=name; } public String getName() { return name; } public void setQuantity(double quantity) { this.quantity=quantity; } public double getQuantity() { return quantity; } } Java code 🔴
12 4月 2022, 00:33

A
09 2月 2022, 02:29

Join call everyone...
05 4月 2022, 10:01

🚨ACCENTURE DONE Cleared Congrats🎉
31 8月 2022, 08:56

Tq
02 3月 2022, 00:30

25 9月 2022, 06:44

Code pls
21 2月 2022, 07:10

Answer please
20 2月 2022, 00:46

Tomorrow
10 2月 2022, 21:47