INFOSYS EXAM SOLUTIONS
الذهاب إلى القناة على Telegram
🎖️Main Channel: @PlacementStudio 👉Stop fearing for exams 📝📃 👉 @Ramhelper is here to help you all at lowest cost possible.👨💻👩💻 👉Chances of getting qualified = 100% ✅✅ 👉Effort from our side = 💯 🎖️Main Channel: @PlacementStudio
إظهار المزيد2 141
المشتركون
+124 ساعات
-67 أيام
-3630 أيام
أرشيف المشاركات
💥Infosys slots are open 💥
🌟Book Your Slots 🌟
Message To Gang Leader 💌
💯 Percent Clearance Test
💥💥 Book Your Slots For TCS Main Exam 💥💥
Slots Available
Message To Gang Leader 💌
💯 Percent Gaurantee
🎉🎉 Accenture Slots Available 🎉🎉
💥Book Your Slots 💥
[Limited Slots Available]
💯 Clerance Test
Message To Gang Leader 💌
🎯PhonePe is Hiring Off Campus
Qualification: Any Graduation
Salary: : 5 to 6 LPA
Experience: Fresher
Apply link: https://bit.ly/35fOqfP
Slots available
Book your slot quickly
https://t.me/Gangleader6
Who need help .
Message him .
💯 Genuine
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in); // creating object of scanner class
int n = 5; // calling nextInt() method of Scanner class to accept number of lawyer objects
TOy d[] = new TOy[n]; // n represents size of the array
for (int i = 0; i < d.length; i++) {
int toyid = sc.nextInt(); // accept id
sc.nextLine();
String toyName = sc.nextLine(); // accept name
String category = sc.nextLine(); // accept name
double price = sc.nextDouble();
sc.nextLine();
double discount = sc.nextDouble();
d[i] = new TOy(toyid, toyName, category, price, discount); // creating object
}
sc.nextLine();
String fs1 = sc.nextLine();
String fs2 = sc.nextLine();
int ans1 = findtotalstock(d, fs1);
if (ans1 > 0) {
System.out.println(ans1);
} else {
System.out.println("Category doesn't exist");
}
TOy ans2 = searchbyid(d, fs2);
if (ans2 != null) {
System.out.println(ans2.getToyid());
System.out.println(ans2.getToyName());
System.out.println(ans2.getCategory());
} else {
System.out.println("No Match found for the Category");
}
}
public static int findtotalstock(TOy[] Sanitize, String fs1) {
int sum = 0;
for (int i = 0; i < Sanitize.length; i++) {
if (Sanitize[i].getCategory().equalsIgnoreCase(fs1))
sum++;
}
return sum;
}
public static TOy searchbyid(TOy[] fabrics, String fs2) {
TOy b = null;
double d = 0;
double a[] = new double[fabrics.length];// declaration and instantiation
for (int i = 0; i < fabrics.length; i++) {
if (fabrics[i].getCategory().equalsIgnoreCase(fs2)) {
d = (fabrics[i].getPrice() * fabrics[i].getDiscount()) / 100;
b = fabrics[i];
break;
}
}
return b;
}
}
class TOy {
private int toyid;
private String toyName;
private String category;
private double price;
private double discount;
public TOy(int toyid, String toyName, String category, double price, double discount) {
super();
this.toyid = toyid;
this.toyName = toyName;
this.category = category;
this.price = price;
this.discount = discount;
}
public int getToyid() {
return toyid;
}
public void setToyid(int toyid) {
this.toyid = toyid;
}
public String getToyName() {
return toyName;
}
public void setToyName(String toyName) {
this.toyName = toyName;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
public double getDiscount() {
return discount;
}
public void setDiscount(double discount) {
this.discount = discount;
}
}
Java code
Python Unix:
awk 'BEGIN{FS="|";count = 0;IGNORECASE=1}
{
if($4!="2nd sem" && $3 == "english")count++;
}
END{
print count;
}
Unix java
awk 'BEGIN{FS="|"; IGNORECASE=1; count=0;}
{
if($3=="ENGLISH" && $4!="2nd Sem"){
count++;
}
}
END{print count;}'
: Unix
PRA2 Java :
1 a
2 c
3 trigger
4 d
5 %rowtype
6 a,b
7 inner
8 d
9 b
10 where
11 c
12 sort -r
13 c
14 mv
15 c
16//
17 u
18 div
19 nav
20 img src
21 b
22 a new tab
23 c
24 d
25 d
26 b
27 false
28 4.0
29 c
30 a i/9
Guys check the portal
Who have written the exam
Some people got batched
Many people are messaging me personally
Those who have fail to check the portal
Check once
🎉🎉 Accenture Slots Available 🎉🎉
💥Book Your Slots 💥
[Limited Slots Available]
💯 Clerance Test
Message To Gang Leader 💌
💥💥 Book Your Slots For TCS Main Exam 💥💥
Slots Available
Message To Gang Leader 💌
💯 Percent Gaurantee
🎉🎉TCS 26th March Results Outed 🎊🎊
Got Direct Offer letter 💌
💥 Congratulations 💥
Slots available
Book your slot quickly
https://t.me/Gangleader6
Who need help .
Message him .
💯 Genuine
