This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Check is Number is Krishnamorty or not by using Recursion | |
A krishnamurty Number is a number which | |
is the sum of the factorial of each digits of a number | |
is equal to the original number. | |
INPUT: 145 | |
OUTPUT: Yes | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Program to Find the LCM and HCF using Recursion | |
*/ | |
import java.util.Scanner; | |
class HCM_LCM_Recursion { | |
int common = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Accept a senetnce and print the frequency of each alphabet present | |
INPUT: Smooth Road | |
OUTPUT: | |
s: 1 | |
m: 1 | |
o: 3 | |
t: 1 | |
h: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Input a word check for the position of the first occurring vowel and perform the following operation. | |
(a) Words that begin with a vowel are concatenated with “Y”. | |
Eg: EUROPE becomes EUROPEY | |
(b) Words that contain a vowel in-between should have the first part from the position of the vowel till the end, | |
followed by the part of the string from beginning till the position of the vowel and is concatenated by "C". | |
Eg: PROJECT becomes OJECTPRC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>Custom PropFull</Title> | |
<Shortcut>pprop</Shortcut> | |
<Description>Custom Code snippet for property and backing field</Description> | |
<Author>Aadi Poddar</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System.Reflection; | |
namespace PubEntry; | |
public static class UpdateManager | |
{ | |
private static async Task<string> GetLatestVersionFromGithub() | |
{ | |
string fileUrl = "https://raw.githubusercontent.com/aadipoddar/PubEntry/refs/heads/main/README.md"; |
OlderNewer