Thank you for this tutorial. Do you also have a video for the revise the code section with two classes: Calculator and Program. If time permits, could you please rearrange the playlist to be in proper sequential order. Thanks again.
Hello, something i do not understand of C# to do something so very simple and addition with "c" we do like that : float N1,N2,Sum; printf("Veuiller entrer N1 : "); scanf_s("%f",&N1); printf("Veuiller entrer N2 : "); scanf_s("%f",&N2); Sum = N1+N2; printf("La somme des note = %.2f ",Sum); why with C# Higher langage the "C" it s more complicate to do a simple addition like a "c" ? How we can do something like that simply with C# !! that i did not understand we nned to convert and adding method and more more so a lot off line code for just doing 1+1 = 2 ( of course i mean with someone use a keyboard to put Number 1 and number 2 ). Thank you for all
%f in the scanf statement is essentially the same as parse. It interprets the string as a float. Both languages have to indicate that input is supposed to be a number. @@faquir885
Thank you for this tutorial.
Do you also have a video for the revise the code section with two classes: Calculator and Program.
If time permits, could you please rearrange the playlist to be in proper sequential order.
Thanks again.
Good way to teach people those who have no IT back ground at all .
Muhammad may you explain what exactly is the purpose of using (Console.ReadLine after Switch()) on line 38?
God bless you sir. Thanks for the useful video
Very nice! Quality video! Liked
Thank you! Cheers!
@@shadsluiter, may you explain what exactly is the purpose of using (Console.ReadLine after Switch()) on line 38?
@@sifisocyprianshezi3824 Readline pauses the app. Prevents it from closing before the user sees the output.
@@shadsluiter Thank You Professor
do you think you can link the tutorial your following?
That is very nice.. thanks so much
how to add an error message when the user tries to enter decimal values in c#?
Thank you sir
Hello, something i do not understand of C# to do something so very simple and addition
with "c" we do like that :
float N1,N2,Sum;
printf("Veuiller entrer N1 : ");
scanf_s("%f",&N1);
printf("Veuiller entrer N2 : ");
scanf_s("%f",&N2);
Sum = N1+N2;
printf("La somme des note = %.2f
",Sum);
why with C# Higher langage the "C" it s more complicate to do a simple addition like a "c" ?
How we can do something like that simply with C# !! that i did not understand we nned to convert and adding method and more more so a lot off line code for just doing 1+1 = 2 ( of course i mean with someone use a keyboard to put Number 1 and number 2 ).
Thank you for all
A C# console app would look like this. int x = int.Parse(Console.Readline()); int sum = x + x;
@@shadsluiter thank you why we do parse?? Why is not easier then c???
%f in the scanf statement is essentially the same as parse. It interprets the string as a float. Both languages have to indicate that input is supposed to be a number. @@faquir885