Forwarded from Placed Buddies (IT job Updates) 🤟
Science competition code
import java.util.*;
public class Test2 {
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int size = sc.nextInt();
int arr[] = new int[size];
for(int i=0;i<size;i++)
{
arr[i] = sc.nextInt();
}
int k=sc.nextInt();
Arrays.sort(arr);
int l = size-1;
while(k-->0)
{
System.out.print(arr[l]+" ");
--l;
}
}
}
@practiceinterview
import java.util.*;
public class Test2 {
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
int size = sc.nextInt();
int arr[] = new int[size];
for(int i=0;i<size;i++)
{
arr[i] = sc.nextInt();
}
int k=sc.nextInt();
Arrays.sort(arr);
int l = size-1;
while(k-->0)
{
System.out.print(arr[l]+" ");
--l;
}
}
}
@practiceinterview
Forwarded from Placed Buddies (IT job Updates) 🤟
ENCRYPTED DATA STRING
#include<stdio.h>
int main()
{
int n, reverse=0, rem;
printf("Enter a number: ");
scanf("%d", &n);
while(n!=0)
{
rem=n%10;
reverse=reverse*10+rem;
n/=10;
}
printf("Reversed Number: %d",reverse);
return 0;
}
#include<stdio.h>
int main()
{
int n, reverse=0, rem;
printf("Enter a number: ");
scanf("%d", &n);
while(n!=0)
{
rem=n%10;
reverse=reverse*10+rem;
n/=10;
}
printf("Reversed Number: %d",reverse);
return 0;
}
Forwarded from Placement Gyaan Materials
Please open Telegram to view this post
VIEW IN TELEGRAM
📚 Today's Courses 📚
🧿 Learn ARKit using Unity
https://bit.ly/3au6xP0
🧿 Rapid Prototyping
byGoogle
https://bit.ly/3qAYd5s
🧿 Microsoft SQL Server 2019: For Beginners
https://bit.ly/2Zx0DGp
[Expires In 11 Hours]
🧿 Easy YouTube Google Ads - Marketing and Advertising Traffic
https://bit.ly/3axC8PO
[Expires In One Day]
🧿 Master English Phonics for Beginner Adults and Parents
https://bit.ly/2NGpchq
[Expires In One Day]
🧿 Adobe Premiere Pro CC Essential Video Editing Zero To Hero
https://bit.ly/3s9XoRQ
[Expires In One Day]
🧿 The Complete SAP Analytics Cloud Course 2021
https://bit.ly/3sduYq5
[Expires In One Day]
🧿 Amazon FBA - How to Find Suppliers and Manufacturers
https://bit.ly/2ZrFVrw
[Expires In One Day]
🧿 CSS - Basics To Advanced for front end development (2021)
https://bit.ly/3ayt1P1
[Expires In One Day]
🧿 Bootstrap From Scratch - Fast and Responsive Web Development
https://bit.ly/2M32z6s
[Expires In One Day]
🧿 The Complete ReactJs Course - Basics to Advanced (2021)
https://bit.ly/3pDgz4C
[Expires In One Day]
🧿 Complete Positive Thinking Course - Happiness Psychology
https://bit.ly/3axD8TW
[Expires In One Day]
🧿 The Complete Personal Networking Course: Networking Mastery
https://bit.ly/3s7FbnN
[Expires In One Day]
🧿 Learn ARKit using Unity
https://bit.ly/3au6xP0
🧿 Rapid Prototyping
byGoogle
https://bit.ly/3qAYd5s
🧿 Microsoft SQL Server 2019: For Beginners
https://bit.ly/2Zx0DGp
[Expires In 11 Hours]
🧿 Easy YouTube Google Ads - Marketing and Advertising Traffic
https://bit.ly/3axC8PO
[Expires In One Day]
🧿 Master English Phonics for Beginner Adults and Parents
https://bit.ly/2NGpchq
[Expires In One Day]
🧿 Adobe Premiere Pro CC Essential Video Editing Zero To Hero
https://bit.ly/3s9XoRQ
[Expires In One Day]
🧿 The Complete SAP Analytics Cloud Course 2021
https://bit.ly/3sduYq5
[Expires In One Day]
🧿 Amazon FBA - How to Find Suppliers and Manufacturers
https://bit.ly/2ZrFVrw
[Expires In One Day]
🧿 CSS - Basics To Advanced for front end development (2021)
https://bit.ly/3ayt1P1
[Expires In One Day]
🧿 Bootstrap From Scratch - Fast and Responsive Web Development
https://bit.ly/2M32z6s
[Expires In One Day]
🧿 The Complete ReactJs Course - Basics to Advanced (2021)
https://bit.ly/3pDgz4C
[Expires In One Day]
🧿 Complete Positive Thinking Course - Happiness Psychology
https://bit.ly/3axD8TW
[Expires In One Day]
🧿 The Complete Personal Networking Course: Networking Mastery
https://bit.ly/3s7FbnN
[Expires In One Day]