Пікірлер
@ria9435
@ria9435 2 күн бұрын
Were never able to understand this program with such clarity . Thank you for this video. Good Job!!
@UshaJP-d6c
@UshaJP-d6c 5 күн бұрын
Thank you very much, it helped me
@pavankumararay
@pavankumararay 7 күн бұрын
wrost explanation
@rajuchennarapu3714
@rajuchennarapu3714 10 күн бұрын
nice explanation ❤❤
@atultripathi7141
@atultripathi7141 16 күн бұрын
thankyou sir
@vaibhavbhinge7763
@vaibhavbhinge7763 19 күн бұрын
thanks
@adya3121
@adya3121 19 күн бұрын
trying to fix around more than 5 hours and now took me fix 2 mins tyvm! <3
@VijayPatil-r6s
@VijayPatil-r6s 29 күн бұрын
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Program_To_Count_Number_of_Words_In_String { public class Program { static void Main(string[] args) { Console.WriteLine("Enter String"); string str=Console.ReadLine();int count = 1; for (int i = 0; i < str.Length; i++) { if ((str[i]==' ' || str[i]=='\t') && str[i-1]!=' ' && str[i-1]!='\t') { count++; } } Console.WriteLine("Number of words are" + count); Console.ReadLine(); } } }
@VijayPatil-r6s
@VijayPatil-r6s Ай бұрын
public class Program { static void Main(string[] args) { // Declaration of variables string str; // Holds the input string from the user. int count = 0, len = 0; // 'count' tracks the number of words, 'len' iterates through the string. bool isWord = false; // A flag to check if currently processing a word. // Prompt the user to enter a string. Console.WriteLine("Enter string"); str = Console.ReadLine(); // Reads the input string from the user. // Loop through each character in the string. while (len <= str.Length - 1) { // Check if the current character is not a space, newline, or tab. if (str[len] != ' ' && str[len] != ' ' && str[len] != '\t') { // If we are not in the middle of a word (previous character was a space or at the start): if (!isWord) { count++; // Increment the word count because a new word has started. isWord = true; // Set isWord to true since we are in the middle of a word now. } } else { isWord = false; // If the current character is a space, newline, or tab, we reset isWord. } // Move to the next character. len++; } // Output the total number of words counted. Console.WriteLine("Total No of words " + count); Console.ReadLine(); // Keeps the console open until a key is pressed. } }
@a_38_priyankapatil26
@a_38_priyankapatil26 Ай бұрын
Thank you so much!!!
@InterviewPoint
@InterviewPoint Ай бұрын
Welcome
@InterviewPoint
@InterviewPoint Ай бұрын
Your welcome
@pandeybrother4025
@pandeybrother4025 Ай бұрын
Sir dot net developer me job opportunity hai kya
@InterviewPoint
@InterviewPoint Ай бұрын
Yes
@manco8555
@manco8555 Ай бұрын
thanks bro
@InterviewPoint
@InterviewPoint Ай бұрын
Welcome
@VijayPatil-r6s
@VijayPatil-r6s Ай бұрын
using System; namespace InterviewProgram.LogicalProgram { class FindOccurrence { static void Main(string[] args) { string str1, str2, str3; int count1, count2, count3; // Taking input string from the user Console.WriteLine("Enter a string: "); str1 = Console.ReadLine(); // Taking the character to find from the user Console.WriteLine("Enter a character to find its occurrence: "); char targetChar = Console.ReadLine().ToLower()[0]; // Convert to lowercase for case-insensitive comparison // Converting the input string to lowercase str2 = str1.ToLower(); // Calculating the original length of the string count1 = str2.Length; // Replacing the target character with an empty string and calculating the new length str3 = str2.Replace(targetChar.ToString(), ""); count2 = str3.Length; // Calculating the occurrence count count3 = count1 - count2; // Displaying the result Console.WriteLine("The occurrence of '{0}' is: {1}", targetChar, count3); Console.ReadLine(); } } }
@VijayPatil-r6s
@VijayPatil-r6s Ай бұрын
using System; class HelloWorld { static void Main() { Console.WriteLine("Enter string"); string str = Console.ReadLine().Trim(); // Trim leading and trailing whitespace // Check if the string is empty if (str == "") { Console.WriteLine("Number of words are 0"); return; } int count = 1; // Start with 1 assuming there is at least one word for (int i = 0; i < str.Length; i++) { if ((str[i] == ' ' || str[i] == '\t') && i > 0 && str[i - 1] != ' ' && str[i - 1] != '\t') { count++; } } Console.WriteLine("Number of words are " + count); } }
@rishikeshnandurkar5696
@rishikeshnandurkar5696 Ай бұрын
nice buddy really helpful , thanks for making video
@InterviewPoint
@InterviewPoint Ай бұрын
Your welcome 🤗
@ahmedabdel-zaher5767
@ahmedabdel-zaher5767 Ай бұрын
couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve
@ahmedabdel-zaher5767
@ahmedabdel-zaher5767 Ай бұрын
couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve
@ahmedabdel-zaher5767
@ahmedabdel-zaher5767 Ай бұрын
couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve
@ahmedabdel-zaher5767
@ahmedabdel-zaher5767 Ай бұрын
couldn't Microsoft.ClickOnce.BootStrapper.Msi;PackageAction:Install ???? how to solve
@W.D.K.PKulasooriya
@W.D.K.PKulasooriya Ай бұрын
thank I solve this problems with in a minute
@InterviewPoint
@InterviewPoint Ай бұрын
Great, Thank you Keep Learning.
@technicalnileshrathod.579
@technicalnileshrathod.579 Ай бұрын
... Easiest way ever .....good sir.
@AmarjeetRikyasan-n3t
@AmarjeetRikyasan-n3t Ай бұрын
thank you very much sir it works .have a nice day
@WIZZBIZZ-h5b
@WIZZBIZZ-h5b 2 ай бұрын
int[] arr = { 1, 2, 3, 4, 5 }; int n = arr.Length; for (int i = n - 1, j = 0; i > j; i--, j++) { int temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; } // Print the reversed array foreach (int num in arr) { Console.Write(num + " "); }
@Anmoljeevan1819
@Anmoljeevan1819 2 ай бұрын
Nice example
@CheraghRahimi
@CheraghRahimi 2 ай бұрын
Thank you very much.
@InterviewPoint
@InterviewPoint 2 ай бұрын
You are welcome!
@dharmaraosalana641
@dharmaraosalana641 2 ай бұрын
Excellent ❤
@InterviewPoint
@InterviewPoint 2 ай бұрын
Thanks 😊
@travelbark1013
@travelbark1013 2 ай бұрын
if city is more than 2 ...who teach you query it will not work for bulk data
@fabianbartasco6391
@fabianbartasco6391 2 ай бұрын
Thanks a lot!
@InterviewPoint
@InterviewPoint 2 ай бұрын
You're welcome!
@lagnajitpuhan4033
@lagnajitpuhan4033 2 ай бұрын
Not clear explanation
@Fidato-h3n
@Fidato-h3n 3 ай бұрын
Sir I really appreciate you for your great work, but I have a piece of advice for me: Please improve the audio quality. It's almost not understandable.
@InterviewPoint
@InterviewPoint 2 ай бұрын
Please check our latest video and let us know. Thank you for your feedback.
@habibairshad9662
@habibairshad9662 3 ай бұрын
thanks its very helpful for me
@InterviewPoint
@InterviewPoint 2 ай бұрын
You are most welcome
@kandulasujith1206
@kandulasujith1206 3 ай бұрын
Select top 1 salary from (Select top 3 salary from employee order by salary desc)sub Order by salary
@noellepaes4255
@noellepaes4255 3 ай бұрын
i swear, i think you save me at all
@deepakdnair8655
@deepakdnair8655 3 ай бұрын
thank you
@ashokk2983
@ashokk2983 3 ай бұрын
for 153 number we got lastly num value 0 then sum is 1 ,how 1 and 0 equals,this number is armstrong,confused can u explain
@martinglasgow1219
@martinglasgow1219 3 ай бұрын
I had ransome ware on my PC with the message not to turn off, so that was the first thing I did. I then started in safe mode and run antiVirus. Not had it since due to enabling anti Ransomware in Defender.
@Veera-z9h
@Veera-z9h 3 ай бұрын
Thank you so much man, you have saved my afternoon, Thanks again
@maco2399
@maco2399 4 ай бұрын
now it is not running
@2012PGS
@2012PGS 4 ай бұрын
Thank you!
@sreeja0028
@sreeja0028 4 ай бұрын
How to resolve App module does not appear to be an NgModule class can you please help me
@nikitadesai685
@nikitadesai685 4 ай бұрын
It did not work, plz help
@AmarjeetRikyasan-n3t
@AmarjeetRikyasan-n3t Ай бұрын
if did not work than restart sql server services
@PrajaktaShinde-r6p
@PrajaktaShinde-r6p 4 ай бұрын
It took me 15 days to solve the error but you solve my error within min. Thank You So Much. Grateful!
@InterviewPoint
@InterviewPoint 4 ай бұрын
Thank you so much for the kind words... I'm happy that you are able to solve the issue after watching the video. Good luck
@prudhvirajughantasala4622
@prudhvirajughantasala4622 4 ай бұрын
First we have to convert string to chararray and then only we can use foreach loop
@mewmewconmeo
@mewmewconmeo 4 ай бұрын
Very helpful
@InterviewPoint
@InterviewPoint 4 ай бұрын
Thanks
@HiraHina-y6f
@HiraHina-y6f 5 ай бұрын
Working
@InterviewPoint
@InterviewPoint 4 ай бұрын
Thanks
@jayanth_universe
@jayanth_universe 5 ай бұрын
yahh got it
@ajitsstafed1934
@ajitsstafed1934 5 ай бұрын
tooop
@kvelez
@kvelez 5 ай бұрын
The structure of Angular has changed and it has been updated. The video needs an update and a rebranding.
@tanveerslg5392
@tanveerslg5392 5 ай бұрын
Thank you bro great
@Vinsent0121
@Vinsent0121 5 ай бұрын
God thanks that i find your channal, thanks so much
@InterviewPoint
@InterviewPoint 5 ай бұрын
Thank you very much