ar
Feedback

لا تقع ضحية للمخادعين! تيليمتريو يكتشف ويُميّز هذه القنوات 👉 إذا كنت تريد رؤية العلامة، اشترك

CODING SOLUTIONS | IBM | AMAZON CODING SOLUTIONS

CODING SOLUTIONS | IBM | AMAZON CODING SOLUTIONS

الذهاب إلى القناة على Telegram

For any placement exam help contact: @tcsrolex

إظهار المزيد
8 815
المشتركون
لا توجد بيانات24 ساعات
-207 أيام
-11730 أيام
أرشيف المشاركات
Do copy paste k

import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String args[] ) throws Exception { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Course[] courses = new Course[n]; for(int i = 0; i < n; i++) { int id = sc.nextInt(); sc.nextLine(); String name = sc.nextLine(); String admin = sc.nextLine(); int quiz = sc.nextInt(); int handson = sc.nextInt(); courses[i] = new Course(id, name,admin, quiz, handson); } int m = sc.nextInt(); Course s2 = findCourseWithMaximumHandson(courses); if(s2 == null) { System.out.println("No Course found with mentioned attribute"); } else { // System.out.println("id-"+s2.getId()); System.out.println("name-"+s2.getName()); System.out.println("admin-"+s2.getAdmin()); // System.out.println("quiz-"+s2.getQuiz()); System.out.println("handson-"+s2.getHandson()); } Course s1 = searchCourseById(courses, m); if(s1 == null) { System.out.println("No Course found with mentioned attribute."); } else { //System.out.println("id-"+s1.getId()); System.out.println("name-"+s1.getName()); System.out.println("admin-"+s1.getAdmin()); // System.out.println("quiz-"+s1.getQuiz()); //System.out.println("handson-"+s1.getHandson()); } } public static Course findCourseWithMaximumHandson(Course[] courses) { int max = courses[0].getHandson(); Course s1 = null; for(int i = 0; i < courses.length; i++) { if(courses[i].getHandson() >= max) { max = courses[i].getHandson(); s1 = courses[i]; } } return s1; } public static Course searchCourseById(Course[] courses, int id){ int l = courses.length; for(int i = 0; i < l; i++) { if(id == courses[i].getId()) return courses[i]; } return null; } } class Course { int id; String name; String admin; int quiz; int handson; Course(int id, String name,String admin,int quiz,int handson) { this.id=id; this.name=name; this.admin=admin; this.quiz=quiz; this.handson=handson; } public int getId() { return id; } public String getName() { return name; } public String getAdmin() { return admin; } public int getQuiz() { return quiz; } public int getHandson() { return handson; } public void setId(int id) { this.id = id; } public void setName(String name) { this.name = name; } public void setAdmin(String admin) { this.admin = admin; } public void setQuiz(int quiz) { this.quiz = quiz; } public void setHandson(int handson) { this.handson= handson; } } Share ✅ https://t.me/TCS_PRA_ANSWERS

awk 'BEGIN{OFS=" ";FS=",";} { print $2,$4; }' Java unix Share ✅ https://t.me/TCS_PRA_ANSWERS

TCS PRA2 JUNE 9TH JAVA✅ 1.who @codeboss65 2.true @codeboss65 3.mv A @codeboss65 4.ordinary @codeboss65 5.none of these @codeboss65 6.B alter table employees alter assests int @codeboss65 7.check @codeboss65 8.True @codeboss65 9.none @codeboss65 10. * A @codeboss65 11.all of these @codeboss65 12. Header @codeboss65 13. 32 @codeboss65 14. %colcount A @codeboss65 15.True @codeboss65 16.all of these @codeboss65 17.string.parsestring @codeboss65 18. 31 A @codeboss65 19.false false false A @codeboss65 20.hybrid C @codeboss65 21.hello world in red color A @codeboss65 22.<hr> C @codeboss65 23. <a> D @codeboss65 24.1010 @codeboss65 25. GET B @codeboss65 26.class selector @codeboss65 27. Onkeydown B @codeboss65 28. Ambiguity error @codeboss65 29. 1034 C @codeboss65 30.document.getElementsByld() D @codeboss65 TCS PRA2 June 9th JAVA ✅✅ @codeboss65 @codeboss65 https://t.me/+1xRpPPBKWUhlNDZl https://t.me/+1xRpPPBKWUhlNDZl

Java will start your exam at 9:13 Python stream will start your exam at 9:16

PRA 2 Java Free Share ✅✅

Tomorrow FREE🤡🤡🤡🤡🤡

🤡🤡🤡 PRA 2 9th june🤡🤡
Anonymous voting

🤡🤡🤡TCS PRA 2 9th June🤡🤡🤡
Anonymous voting

TCS PRA 7th June Results out
Anonymous voting

🤡 TODAY DONE WITH FREE PAR (1) 🤡 Both Python & Java successfully done.. 𝗛𝗼𝘄 𝘄𝗮𝘀 𝗳𝗿𝗲𝗲 𝗵𝗲𝗹𝗽... 𝗠𝗮𝘆 𝗶 𝗸𝗻𝗼𝘄 𝗶𝘁 𝗯𝘆 𝗴𝗶𝘃𝗶𝗻𝗴 𝗘𝗺𝗼𝗷𝗶𝘀 guys Thank you ✅Telegram : https://t.me/coding_solutions_all

Python unix passed ✅✅ ✅Telegram : https://t.me/coding_solutions_all
Python unix passed ✅✅ ✅Telegram : https://t.me/coding_solutions_all

awk 'BEGIN{FS="#";count = 0} { if($4 > 300){ count = count + 1 } }END{ print "Total count: "count }' Python unix

I forgot to send python unix

Sorry guys

PYTHON passed ✅ ✅Telegram : https://t.me/coding_solutions_all
PYTHON passed ✅ ✅Telegram : https://t.me/coding_solutions_all

Java passed ✅ ✅Telegram : https://t.me/coding_solutions_all
Java passed ✅ ✅Telegram : https://t.me/coding_solutions_all

✅✅✅✅✅ ✅Telegram : https://t.me/coding_solutions_all
✅✅✅✅✅ ✅Telegram : https://t.me/coding_solutions_all