int main() {
char s[100];
int i;
printf("\nEnter a string : ");
gets(s);
for (i = 0; s[i]!='\0'; i++) {
if(s[i] >= 'a' && s[i] <= 'z') {
s[i] = s[i] - 32;
} @Coding_human
}
printf("\nString in Upper Case = %s", s);
return 0;
}
Warehouse Code
@Coding_human
char s[100];
int i;
printf("\nEnter a string : ");
gets(s);
for (i = 0; s[i]!='\0'; i++) {
if(s[i] >= 'a' && s[i] <= 'z') {
s[i] = s[i] - 32;
} @Coding_human
}
printf("\nString in Upper Case = %s", s);
return 0;
}
Warehouse Code
@Coding_human
#include <stdio.h>
int main() {
int a[1000],n,i,sum=0;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
@Coding_human
}
for(i=0;i<n;i++)
{
if(a[i]<0)
sum++;
}
printf("%d",sum);
return 0;
}
Space world
Wipro
Telegram- @Coding_human
int main() {
int a[1000],n,i,sum=0;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
@Coding_human
}
for(i=0;i<n;i++)
{
if(a[i]<0)
sum++;
}
printf("%d",sum);
return 0;
}
Space world
Wipro
Telegram- @Coding_human
Please open Telegram to view this post
VIEW IN TELEGRAM
n=int(input())
a=list(map(int,input().split()))
new=[]
for i in a:
if i>0:
new.append(a.index(i))
print(len(new))
Municipal corporation code wipro.
Python 3
Telegram:- Join now
@Coding_human
@Coding_human
@Coding_human
a=list(map(int,input().split()))
new=[]
for i in a:
if i>0:
new.append(a.index(i))
print(len(new))
Municipal corporation code wipro.
Python 3
Telegram:- Join now
@Coding_human
@Coding_human
@Coding_human
TCS digital 10am slot answers 👇
1)2,3 1
2)suggested
3)a
4) a
5.hard pressed
6.B
7.fiasco
8.Brave
9.c
10.b
11.c
✅Telegram- @Coding_human
@Coding_human
1)2,3 1
2)suggested
3)a
4) a
5.hard pressed
6.B
7.fiasco
8.Brave
9.c
10.b
11.c
✅Telegram- @Coding_human
@Coding_human
Please read guys 🙏🙏
Don't give money to anyone.
We are providing free help.
Stay away from rippers.
Stay alert stay safe.
Kisi ko bhi koi paisa/rs dene ki koi zaroorat nahi h,
Hum free material provide karte hai.
Aap Rippers se door the.🙏
If you are ripped by someone, we are not responsible at all.
Thank you
@Coding_human
Don't give money to anyone.
We are providing free help.
Stay away from rippers.
Stay alert stay safe.
Kisi ko bhi koi paisa/rs dene ki koi zaroorat nahi h,
Hum free material provide karte hai.
Aap Rippers se door the.🙏
If you are ripped by someone, we are not responsible at all.
Thank you
@Coding_human
✅Test of knowledge
1.double float
2.error
3.no output(c). @Coding_human
4 when braek statement executes in
5.C
✅Telegram- @Coding_human
1.double float
2.error
3.no output(c). @Coding_human
4 when braek statement executes in
5.C
✅Telegram- @Coding_human
awk 'BEGIN{FS="";c=0;}
{
if(NR>1) @Coding_human
{
c= perl -pe 'map{$c{$_}++}split(//,$_);$_=[sort{$c{$b}<=>$c{$a}}keys(%c)]->[0]'
if(c<3){
print $0;
}
}
else{
print "No word to pick.";}
END{}'
Python unix✅✅
TCS IRA
✅Telegram- @Coding_human
@Coding_human
{
if(NR>1) @Coding_human
{
c= perl -pe 'map{$c{$_}++}split(//,$_);$_=[sort{$c{$b}<=>$c{$a}}keys(%c)]->[0]'
if(c<3){
print $0;
}
}
else{
print "No word to pick.";}
END{}'
Python unix✅✅
TCS IRA
✅Telegram- @Coding_human
@Coding_human
def min_step(n):
if n==0: @Coding_human
return 0;
else:
if n%2==0:
return min_step(n//2)+1
else:
return min_step(n-1)+1
n=int(input())
print(min_step(n))
Minimum Steps code
Python 3
@Coding_human
@Coding_human
⚠️ Share post in ur college and telegram Group's
if n==0: @Coding_human
return 0;
else:
if n%2==0:
return min_step(n//2)+1
else:
return min_step(n-1)+1
n=int(input())
print(min_step(n))
Minimum Steps code
Python 3
@Coding_human
@Coding_human
⚠️ Share post in ur college and telegram Group's