Simple Calculator Program using Switch Case: C Program

  Рет қаралды 131,953

Technotip

Technotip

Күн бұрын

technotip.com/6...
In this video tutorial we shall perform Addition, Subtraction, Multiplication and Division of numbers based on user input, using switch case statement(decision control statement).
C Programming: Beginner To Advance To Expert
technotip.com/6...

Пікірлер: 44
@vakhariyajay2224
@vakhariyajay2224 2 жыл бұрын
Thank you very much. You are a genius. 👍👍🔝🔝
@nouramsaeed
@nouramsaeed 7 ай бұрын
I really appreciate you work
@DilwarHussain-dh1ke
@DilwarHussain-dh1ke 3 жыл бұрын
you are so fast. plz explain the codes nicely and go slow.
@spandanareddy5472
@spandanareddy5472 2 жыл бұрын
Thank you so much sir
@AdityaRaj-lj5wf
@AdityaRaj-lj5wf 2 жыл бұрын
nicely explained.
@martii707
@martii707 Жыл бұрын
Un video muy bien explicado,gracias
@technotipDOTorg
@technotipDOTorg Жыл бұрын
Gracias :)
@tinula
@tinula 3 жыл бұрын
Dear sir, why its not accepting scanf() char variable choice, when we enter this order. printf("Enter 1 integer numbers "); scanf("%d", &a); printf("Enter 2 integer numbers "); scanf("%d", &b); printf("a. Addition b. Subtraction c. Multiplication d. Division "); printf("Enter your choice :"); scanf("%c",&choice);
@Nikecodes
@Nikecodes 3 жыл бұрын
Check my video out :)
@user-GetStories
@user-GetStories 2 ай бұрын
Ik its been long but for new users who have same problem....You have to put (SPACE) before %c eg:you DO scanf(" %c", &choice); and NOT scanf("%c", &choice);
@tanmoybiswas6048
@tanmoybiswas6048 2 жыл бұрын
can you explain why i have to make a choice 1st. i was writing a programme but i was taking the number input 1st then asking the choice so then my programme was taking input of that numbers but not taking the in put of choice . it was terminating the programme. can you tell me why please??????
@sarthakchoudhury5237
@sarthakchoudhury5237 3 жыл бұрын
Smb rocks 🔥
@sonujakhar5134
@sonujakhar5134 4 жыл бұрын
Very nice explanation sir 👏
@technotipDOTorg
@technotipDOTorg 4 жыл бұрын
Thank you Madam 🙏 Kindly stay subscribed to our KZbin channel and blog. And please ask your friends to subscribe too.
@joshtal5863
@joshtal5863 4 жыл бұрын
Sir mi program compile kelyanantar tithe enter two integer numbers yetat tyat mathematical operation nahi Det so please help me sir
@sanjaypachala8766
@sanjaypachala8766 2 жыл бұрын
Bro simple calculator using switch keys ki flow chart pettu bro
@ankitaankita7231
@ankitaankita7231 2 жыл бұрын
very nice
@jaywardhanshinde3012
@jaywardhanshinde3012 2 жыл бұрын
If we put option instead of choice will it run???
@KifPH
@KifPH 2 жыл бұрын
yes its just a variable
@engineer7857
@engineer7857 3 жыл бұрын
I want to add the first number, then the sign, and finally the second number. Why did this logic not work for me?
@MotivaPlay402
@MotivaPlay402 2 ай бұрын
Which plateform do you use
@mayanksharma8027
@mayanksharma8027 Ай бұрын
It is code blocks
@technotipDOTorg
@technotipDOTorg Ай бұрын
Yes its code::blocks technotip.com/6094/the-best-ide-for-c-programming/
@rk.r2439
@rk.r2439 Жыл бұрын
is it possible to put a switch inside a switch?? assuming it is, how would I change a nested if statement into switch?
@Username92381
@Username92381 11 ай бұрын
Broo wtf? It's switch(type) not anything else
@anokhautomation4453
@anokhautomation4453 3 жыл бұрын
why we can't choose directly the operator instead of choosing a number or alphabet? we can use arithmetical symbol as a character using char .is it correct?
@prithivraj4459
@prithivraj4459 Жыл бұрын
Yes
@hadiahadi6089
@hadiahadi6089 3 жыл бұрын
Thanks sir plz give me file plzz
@jettbernardcatacutan8147
@jettbernardcatacutan8147 2 жыл бұрын
All flows smoothly but why cant I generate an answer? Please enlighten me guys
@SaiKiran-jn7of
@SaiKiran-jn7of 3 жыл бұрын
bro what compiler you are using is....??
@technotipDOTorg
@technotipDOTorg 3 жыл бұрын
GCC compiler bro ..
@technotipDOTorg
@technotipDOTorg 3 жыл бұрын
And Code::blocks IDE technotip.com/6094/the-best-ide-for-c-programming/
@joshtal5863
@joshtal5863 3 жыл бұрын
Coding
@qaisarrana2508
@qaisarrana2508 3 жыл бұрын
please send b file thanks
@hadiahadi6089
@hadiahadi6089 3 жыл бұрын
Plz send b file plzzzzz
@harshmadhur2065
@harshmadhur2065 3 жыл бұрын
Bhai kya codes mil skte h kya bhai
@technotipDOTorg
@technotipDOTorg 3 жыл бұрын
Bro visit the link present in the description section of above KZbin video for source code and notes.
@leginnipsjd8963
@leginnipsjd8963 3 жыл бұрын
lol what is tsoise?
@satoshiishigaki3909
@satoshiishigaki3909 3 жыл бұрын
NUL Two Space
@venkateshkishore3898
@venkateshkishore3898 3 жыл бұрын
Why we enter choice first and numbers next
@gayanthasenarathne5480
@gayanthasenarathne5480 3 жыл бұрын
Dear sir, why its not accepting scanf() char variable choice, when we enter this order. printf("Enter 1 integer numbers "); scanf("%d", &a); printf("Enter 2 integer numbers "); scanf("%d", &b); printf("a. Addition b. Subtraction c. Multiplication d. Division "); printf("Enter your choice :"); scanf("%c",&choice);
@adityaseth9009
@adityaseth9009 2 жыл бұрын
Make sure you initialized the variable "choice" at the top.
C Program to Calculate Gross Salary of an Employee
2:01
Technotip
Рет қаралды 49 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,2 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 56 МЛН
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 19 МЛН
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 546 М.
Apple October Event LEAKS - 7 NEW Devices are COMING!
10:20
Max Tech
Рет қаралды 113 М.
Postgres just got even faster
26:42
Hussein Nasser
Рет қаралды 21 М.
Create A Menu Using A Switch Statement | C Programming Example
7:34
Portfolio Courses
Рет қаралды 33 М.
Conditionals (Switch)
7:24
Neso Academy
Рет қаралды 387 М.
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,7 МЛН