Off Campus Job Update pinned Β«Infosys All Solution Here β€οΈπ Channel π https://t.me/Coding_solution_0 Group π https://t.me/good_codersΒ»
Add your 5 Friends here
Will provide you all the Infosys Solutionβ€οΈ
Will provide you all the Infosys Solutionβ€οΈ
Angry professor
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <stdbool.h>
int main(){
int t,count=0;
scanf("%d",&t);
for(int a0 = 0; a0 < t; a0++){
count=0;
int n;
int k;
scanf("%d %d",&n,&k);
int a[n];
for(int a_i = 0; a_i < n; a_i++){
scanf("%d",&a[a_i]);
}
for(int a_i = 0; a_i < n; a_i++){
if(a[a_i]<=0)
count++;
}
if(count<k)
printf("YES\n");
else
printf("NO\n");
//count=0;
}
return 0;
}
C language
Telegram- https://t.me/Coding_solution_0
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <stdbool.h>
int main(){
int t,count=0;
scanf("%d",&t);
for(int a0 = 0; a0 < t; a0++){
count=0;
int n;
int k;
scanf("%d %d",&n,&k);
int a[n];
for(int a_i = 0; a_i < n; a_i++){
scanf("%d",&a[a_i]);
}
for(int a_i = 0; a_i < n; a_i++){
if(a[a_i]<=0)
count++;
}
if(count<k)
printf("YES\n");
else
printf("NO\n");
//count=0;
}
return 0;
}
C language
Telegram- https://t.me/Coding_solution_0
Forwarded from Coding All slot Solution
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
Python
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
11 C
12
13
14
15 C
16 B
22 b
23 D
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
11 C
12
13
14
15 C
16 B
22 b
23 D
Python
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
11 C
12
13
14
15 C
16 B
22 b
23 D
25 d
26 c
27 b
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
11 C
12
13
14
15 C
16 B
22 b
23 D
25 d
26 c
27 b
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
11a
12b
13b
14 a
15-3
16-c
17-b
18-a
19-b
20-b
21 b
22 a
23d
24 b
25 a
26-c
27 d
28 b
29c
30c
31 a
32 b
33 b
34 c
35 b
36-b
37-c
38-a
39 b
40-d
41 b
42-a
43 c
44 a
45 a
46 a
47-a
48-b
49 a
50 c
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
11a
12b
13b
14 a
15-3
16-c
17-b
18-a
19-b
20-b
21 b
22 a
23d
24 b
25 a
26-c
27 d
28 b
29c
30c
31 a
32 b
33 b
34 c
35 b
36-b
37-c
38-a
39 b
40-d
41 b
42-a
43 c
44 a
45 a
46 a
47-a
48-b
49 a
50 c
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
IRA 10JAN
JAVA
1.Composite
2.false
3.native
4.false
5.false
6.all of the above
7.u will....
8.paul can be task...
9.priority..
10.true
11.
12.
13.}
14.tee
15.
16.
17.
18.32
19.unique
20.Count(*)
21.dbms_output.put_line()
22.
23.
24.
25.
26.outline color
27.
28.
29.
30.
31..,#
32.
34.continue
35.mask
36.-128
37.a,b,c
38.me Bu
39.
40.
41.27 8
42.C
43.
44.D
45.D
46.A
47.C
48.100
49.
50.0
33.onclick
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
JAVA
1.Composite
2.false
3.native
4.false
5.false
6.all of the above
7.u will....
8.paul can be task...
9.priority..
10.true
11.
12.
13.}
14.tee
15.
16.
17.
18.32
19.unique
20.Count(*)
21.dbms_output.put_line()
22.
23.
24.
25.
26.outline color
27.
28.
29.
30.
31..,#
32.
34.continue
35.mask
36.-128
37.a,b,c
38.me Bu
39.
40.
41.27 8
42.C
43.
44.D
45.D
46.A
47.C
48.100
49.
50.0
33.onclick
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
IRA 10JAN
JAVA
1.Composite
2.false
3.native
4.false
5.false
6.all of the above
7.u will....
8.paul can be task...
9.priority..
10.true
11.
12.
13.}
14.tee
15.
16.
17.
18.32
19.unique
20.Count(*)
21.dbms_output.put_line()
22.
23.
24.
25.
26.outline color
27.
28.
29.
30.
31..,#
32.
34.continue
35.mask
36.-128
37.a,b,c
38.me Bu
39.
40.
41.27 8
42.C
43.
44.D
45.D
46.A
47.C
48.100
49.
50.0
33.onclick
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
11-> cut -d " " -f 1 sample
12-> Tom and jerry
13-> $
14-> grep
15-> greater
17-> 1024
18-> 32
19-> distinct
20-> count(*) dbms_output.put_line();
22-> error
23-> 1
24-> 0
25-> both
41-> 27 9
42-> 2
43-> Hello
44-> length()
45-> string()
46-> Multiplication
47-> Stay Safe,Stay Healthy
48-> compile error
49-> wrong question
50-> 0
JAVA
1.Composite
2.false
3.native
4.false
5.false
6.all of the above
7.u will....
8.paul can be task...
9.priority..
10.true
11.
12.
13.}
14.tee
15.
16.
17.
18.32
19.unique
20.Count(*)
21.dbms_output.put_line()
22.
23.
24.
25.
26.outline color
27.
28.
29.
30.
31..,#
32.
34.continue
35.mask
36.-128
37.a,b,c
38.me Bu
39.
40.
41.27 8
42.C
43.
44.D
45.D
46.A
47.C
48.100
49.
50.0
33.onclick
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
11-> cut -d " " -f 1 sample
12-> Tom and jerry
13-> $
14-> grep
15-> greater
17-> 1024
18-> 32
19-> distinct
20-> count(*) dbms_output.put_line();
22-> error
23-> 1
24-> 0
25-> both
41-> 27 9
42-> 2
43-> Hello
44-> length()
45-> string()
46-> Multiplication
47-> Stay Safe,Stay Healthy
48-> compile error
49-> wrong question
50-> 0
Python 10 Jan
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
11a
12b
13b
14 a
15-3
16-c
17-b
18-a
19-b
20-b
21 b
22 a
23d
24 b
25 a
26-c
27 d
28 b
29c
30c
31 a
32 b
33 b
34 c
35 b
36-b
37-c
38-a
39 b
40-d
41 b
42-a
43 c
44 a
45 a
46 a
47-a
48-b
49 a
50 c
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
1 c
2 d
3 a
4 a
5 b
6 d
7 d
8 d
9 c
10 a
11a
12b
13b
14 a
15-3
16-c
17-b
18-a
19-b
20-b
21 b
22 a
23d
24 b
25 a
26-c
27 d
28 b
29c
30c
31 a
32 b
33 b
34 c
35 b
36-b
37-c
38-a
39 b
40-d
41 b
42-a
43 c
44 a
45 a
46 a
47-a
48-b
49 a
50 c
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
https://t.me/Coding_solution_0
Off Campus Job Update
IRA 10JAN JAVA 1.Composite 2.false 3.native 4.false 5.false 6.all of the above 7.u will.... 8.paul can be task... 9.priority.. 10.true 11. 12. 13.} 14.tee 15. 16. 17. 18.32 19.unique 20.Count(*) 21.dbms_output.put_line() 22. 23. 24. 25. 26.outline color 27.β¦
Correct java answersβ€οΈβ€οΈπ
Off Campus Job Update
Python 10 Jan 1 c 2 d 3 a 4 a 5 b 6 d 7 d 8 d 9 c 10 a 11a 12b 13b 14 a 15-3 16-c 17-b 18-a 19-b 20-b 21 b 22 a 23d 24 b 25 a 26-c 27 d 28 b 29c 30c 31 a 32 b 33 b 34 c 35 b 36-b 37-c 38-a 39 b 40-d 41 b 42-a 43 c 44 a 45 a 46 a 47-a 48-b 49 a 50 c htβ¦
Correct python πβ€οΈ answers
class Food:
def init(self,name,protien,fat,carb):
self.name=name
self.protien=protien
self.fat=fat
self.carb=carb
class Nutrition:
def init(self,status,lfood):
self.status=status
self.lfood=lfood
def setEnergy(self):
result=[]
for i in lfood:
for k,v in status.items():
temp=(i.protien+i.fat+i.carb)
if(temp>=v[0] and temp<=v[1]):
result.append(str(i.name)+" - "+str(temp)+" - "+k)
if(len(result)==0):
return None
else:
return result
def getEnergyRichFood(self,checkenergy):
ans=[]
for i in lfood:
temp=(i.protien+i.fat+i.carb)
if(temp<=checkenergy):
ans.append(i.name+" : "+str(temp))
if(len(ans)==0):
return None
else:
return ans
n=int(input())
lfood=[]
for i in range(n):
name=input()
protien=float(input())
fat=float(input())
carb=float(input())
lfood.append(Food(name,protien,fat,carb))
status={}
cnt=int(input())
for i in range(cnt):
st=input()
l=[]
l.append(int(input()))
l.append(int(input()))
status[st]=tuple(l)
checkenergy=int(input())
obj=Nutrition(status,lfood)
result=obj.setEnergy()
ans=obj.getEnergyRichFood(checkenergy)
if(result!=None):
print("Energy of Food:")
for i in result:
print(i)
if(ans!=None):
print("Food within given criteria:")
for i in ans:
print(i)
else:
print("No Food Found")
https://t.me/Coding_solution_0
def init(self,name,protien,fat,carb):
self.name=name
self.protien=protien
self.fat=fat
self.carb=carb
class Nutrition:
def init(self,status,lfood):
self.status=status
self.lfood=lfood
def setEnergy(self):
result=[]
for i in lfood:
for k,v in status.items():
temp=(i.protien+i.fat+i.carb)
if(temp>=v[0] and temp<=v[1]):
result.append(str(i.name)+" - "+str(temp)+" - "+k)
if(len(result)==0):
return None
else:
return result
def getEnergyRichFood(self,checkenergy):
ans=[]
for i in lfood:
temp=(i.protien+i.fat+i.carb)
if(temp<=checkenergy):
ans.append(i.name+" : "+str(temp))
if(len(ans)==0):
return None
else:
return ans
n=int(input())
lfood=[]
for i in range(n):
name=input()
protien=float(input())
fat=float(input())
carb=float(input())
lfood.append(Food(name,protien,fat,carb))
status={}
cnt=int(input())
for i in range(cnt):
st=input()
l=[]
l.append(int(input()))
l.append(int(input()))
status[st]=tuple(l)
checkenergy=int(input())
obj=Nutrition(status,lfood)
result=obj.setEnergy()
ans=obj.getEnergyRichFood(checkenergy)
if(result!=None):
print("Energy of Food:")
for i in result:
print(i)
if(ans!=None):
print("Food within given criteria:")
for i in ans:
print(i)
else:
print("No Food Found")
https://t.me/Coding_solution_0
Guys Add Your Friends or Share with them β€οΈ
I'll send all the solution After 10K Subscriber on this channel https://t.me/Coding_solution_0
I'll send all the solution After 10K Subscriber on this channel https://t.me/Coding_solution_0