#include<stdio.h>
int main() {
int n;
scanf("%d", &n);
char str[n + 1];
scanf("%s", str);
int count = 0;
char thirdLastConsonant;
for(int i = n - 1; i >= 0; i--) {
if (str[i] != 'a' && str[i] != 'e' && str[i] != 'i' && str[i] != 'o' && str[i] != 'u' &&
str[i] != 'A' && str[i] != 'E' && str[i] != 'I' && str[i] != 'O' && str[i] != 'U') {
count++;
if (count == 3) {
thirdLastConsonant = str[i];
break;
}
}
}
printf("%c\n", thirdLastConsonant);
return 0;
}
int main() {
int n;
scanf("%d", &n);
char str[n + 1];
scanf("%s", str);
int count = 0;
char thirdLastConsonant;
for(int i = n - 1; i >= 0; i--) {
if (str[i] != 'a' && str[i] != 'e' && str[i] != 'i' && str[i] != 'o' && str[i] != 'u' &&
str[i] != 'A' && str[i] != 'E' && str[i] != 'I' && str[i] != 'O' && str[i] != 'U') {
count++;
if (count == 3) {
thirdLastConsonant = str[i];
break;
}
}
}
printf("%c\n", thirdLastConsonant);
return 0;
}
👍1🔥1
allcoding1
import java.util.Scanner; public class ChangeCase { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); char c = scanner.next().charAt(0); if (Character.isLowerCase(c)) { Sys…
n = int(input())
s = input()
consonants = 0
for i in range(n-1,-1,-1):
if s[i] not in 'aeiouAEIOU':
consonants += 1
if consonants == 3:
print(s[i])
break
s = input()
consonants = 0
for i in range(n-1,-1,-1):
if s[i] not in 'aeiouAEIOU':
consonants += 1
if consonants == 3:
print(s[i])
break
👍1
Amazon is hiring Application Engineer
For 2021, 2022, 2023 grads
Location : Chennai
Apply now :
https://www.amazon.jobs/en/jobs/2736775/application-engineer-amazon?cmpid=SPLICX0248M&ss=paid
For 2021, 2022, 2023 grads
Location : Chennai
Apply now :
https://www.amazon.jobs/en/jobs/2736775/application-engineer-amazon?cmpid=SPLICX0248M&ss=paid
👍2
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int L1 = scanner.nextInt();
int R1 = scanner.nextInt();
int L2 = scanner.nextInt();
int R2 = scanner.nextInt();
int maxProduct = Integer.MIN_VALUE;
for (int a = L1; a <= R1; a++) {
for (int b = L2; b <= R2; b++) {
maxProduct = Math.max(maxProduct, a * b);
}
}
System.out.println(maxProduct);
}
}
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int L1 = scanner.nextInt();
int R1 = scanner.nextInt();
int L2 = scanner.nextInt();
int R2 = scanner.nextInt();
int maxProduct = Integer.MIN_VALUE;
for (int a = L1; a <= R1; a++) {
for (int b = L2; b <= R2; b++) {
maxProduct = Math.max(maxProduct, a * b);
}
}
System.out.println(maxProduct);
}
}
Wipro Elite is hiring
Apply (if your college is eligible)
2023 & 2024 Batch students are eligible
Branch : BE/B.TECH/ME/M.TECH
Percentage criteria: 60% Throughout
Apply link :- https://app.joinsuperset.com/join/#/signup/student?jp=fd4be287-c8d5-4ace-ac26-6875ca63bc34
Apply (if your college is eligible)
2023 & 2024 Batch students are eligible
Branch : BE/B.TECH/ME/M.TECH
Percentage criteria: 60% Throughout
Apply link :- https://app.joinsuperset.com/join/#/signup/student?jp=fd4be287-c8d5-4ace-ac26-6875ca63bc34
👍2
D.E. Shaw - DESIS Ascend Educare:
Note: This is only for Female Students
Eligibility:
Second/third-year student in a BTech/BE program
Third/fourth-year student in a five-year dual degree program (BTech + MTech, BE + ME)
First-year student in a two-year MTech/MS/MCA program
Second-year student in a three-year MCA program
Type: Internship
Duration: 6 months
Stipend: 50k per month
Apply Now: https://www.deshaw.com/forms/OTc0RTc2ODQtNTdERS00QUQ0LUJERDEtRUIwNDkwQkYzN0M4
Note: This is only for Female Students
Eligibility:
Second/third-year student in a BTech/BE program
Third/fourth-year student in a five-year dual degree program (BTech + MTech, BE + ME)
First-year student in a two-year MTech/MS/MCA program
Second-year student in a three-year MCA program
Type: Internship
Duration: 6 months
Stipend: 50k per month
Apply Now: https://www.deshaw.com/forms/OTc0RTc2ODQtNTdERS00QUQ0LUJERDEtRUIwNDkwQkYzN0M4
👍3
Capgemini is hiring for Fresher Data Engineer role
2024/2023/2022 passouts eligible
Apply now : https://careers.capgemini.com/job/Bangalore-Data-Engineer-0-to-2-years-Bengaluru/1111499501/?feedId=388633&utm_source=CareerSite&tcsource=apply
2024/2023/2022 passouts eligible
Apply now : https://careers.capgemini.com/job/Bangalore-Data-Engineer-0-to-2-years-Bengaluru/1111499501/?feedId=388633&utm_source=CareerSite&tcsource=apply
👍2
Phone Pe is hiring Product Solution Engineer
For 2021, 2022, 2023 grads
Location : Bangalore
Apply now :
https://boards.greenhouse.io/embed/job_app?token=6049339003&gh_src=961e65dc3us&source=LinkedIn
SAP is hiring Developer Associate
For 2021, 2022, 2023 grads
Location : Bangalore
Apply now :
https://jobs.sap.com/job/Bangalore-Developer-Associate-Java-%25281-3-years%2529-560103/1112037101/?feedId=384233
For 2021, 2022, 2023 grads
Location : Bangalore
Apply now :
https://boards.greenhouse.io/embed/job_app?token=6049339003&gh_src=961e65dc3us&source=LinkedIn
SAP is hiring Developer Associate
For 2021, 2022, 2023 grads
Location : Bangalore
Apply now :
https://jobs.sap.com/job/Bangalore-Developer-Associate-Java-%25281-3-years%2529-560103/1112037101/?feedId=384233