QBasic Tutorial 12 - Simple Calculator With Input Validation - QB64

  Рет қаралды 60,853

SchoolFreeware

SchoolFreeware

Күн бұрын

Пікірлер: 41
@namantiwary7490
@namantiwary7490 7 жыл бұрын
please tell how to make it more advanced. i.e. adding fractional numbers,etc.
@DakshBabbar
@DakshBabbar 5 жыл бұрын
Just do 7/8 +9/7
@paramrajeshirke26
@paramrajeshirke26 8 жыл бұрын
hi there! UCASE$ makes my program go nuts, the program doesnot give the expected answer i am using QBasic45. (on my Macbook Pro 2015) is it a compatibility issue?
@PrismAnimates
@PrismAnimates 7 жыл бұрын
no but use this code instead it works on every single one of OS: 'QBASIC calculator! Made by Prithak Adhikari DIM a AS INTEGER DIM b AS INTEGER top: CLS PRINT "Welcome to Prithak's Calculator" PRINT INPUT "Enter the first number"; a INPUT "Enter the Mathmatical Operator(+,-,*,/,^,MOD)"; oper$ SELECT CASE oper$ CASE "+" INPUT "Enter second number"; b sum = a + b PRINT "Result: "; sum INPUT "Would you like to do it again(y/n)"; ch$ IF ch$ = "y" THEN GOTO top IF ch$ = "n" THEN END CASE "-" INPUT "Enter second number"; b diff = a - b PRINT "Result: "; diff INPUT "Would you like to do this again(y/n)"; ch$ IF ch$ = "y" THEN GOTO top IF ch$ = "n" THEN END CASE "*" INPUT "Enter second number"; b mult = a * b PRINT "Result: "; mult INPUT "Would you like to d othis again(y/n)"; ch$ IF ch$ = "y" THEN GOTO top IF ch$ = "n" THEN END CASE "/" INPUT "Enter second number"; b div = a / b PRINT "Result: "; div INPUT "Would you like to d othis again(y/n)"; ch$ IF ch$ = "y" THEN GOTO top IF ch$ = "n" THEN END CASE "^" INPUT "Enter second number"; b expo = a ^ b PRINT "Result: "; expo INPUT "Would you like to d othis again(y/n)"; ch$ IF ch$ = "y" THEN GOTO top IF ch$ = "n" THEN END CASE "MOD" INPUT "Enter second number"; b modd = a MOD b PRINT "Result: "; modd INPUT "Would you like to d othis again(y/n)"; ch$ IF ch$ = "y" THEN GOTO top IF ch$ = "n" THEN END END SELECT
@muhammadhaziq9556
@muhammadhaziq9556 8 жыл бұрын
if we need to limit marks from 0 to 100 what loop do we use
@igorguimaraesdecastro5855
@igorguimaraesdecastro5855 5 жыл бұрын
For loop
@Shytzedaka
@Shytzedaka 10 жыл бұрын
Thanks a lot Bec of you i can enjoy makeing Programs" Also i Changed a bit and it worked I did A was P name was Plus and the Subtract was Less Then lol Thanks +Sub +liked
@prithviprasai7151
@prithviprasai7151 7 жыл бұрын
thanx for that awsome video bro................
@ayushagarwal831
@ayushagarwal831 9 жыл бұрын
what is UCASE$ for
@SchoolFreeware
@SchoolFreeware 9 жыл бұрын
Ayush Agarwal UCASE$ - Converting Letters To Upper Case
@ronimandal7500
@ronimandal7500 7 жыл бұрын
SchoolFreeware
@vrushantmukherjee6751
@vrushantmukherjee6751 7 жыл бұрын
SchoolFreeware
@ayanjamil8270
@ayanjamil8270 4 жыл бұрын
a humble thanks
@uddhavaggarwal1087
@uddhavaggarwal1087 4 жыл бұрын
i tried but its not wrkng it just gives output as number 1 and no operation is happening i checked every thing is right but its not wrkng
@bombi8709
@bombi8709 3 жыл бұрын
could you try copying and pasting your code here? or posting a hastebin link , I can help try and solve the issue for you if you still have this problem
@Herbarius
@Herbarius 13 жыл бұрын
Nice for you to do these.. Kudos and thumbs up! But maybe you should switch over to FreeBasic? If not, would you be okay with others to adjust your tutorials for FreeBasic?
@anirudhrs7656
@anirudhrs7656 7 жыл бұрын
what does UNCASE$ mean?
@PrismAnimates
@PrismAnimates 7 жыл бұрын
If you mean UCASE$ Then it converts the letters to upper case( for eg: w To W)
@sulochanashaw6627
@sulochanashaw6627 7 жыл бұрын
Very useful but what is (UCASE)
@emperoraltonia
@emperoraltonia 6 жыл бұрын
Converting letters into upper-case.
@jitendraphysicspoint2159
@jitendraphysicspoint2159 4 жыл бұрын
Plz me program Qbasic calculate energy levels research
@nehanarula12
@nehanarula12 3 жыл бұрын
what do u mean
@srijanashrestha322
@srijanashrestha322 4 жыл бұрын
Nice 😯😯😯😯
@vargascarlitos
@vargascarlitos 11 жыл бұрын
my q64 no accept "UCASE$" and DIM commands ..
@DakshBabbar
@DakshBabbar 5 жыл бұрын
Maybe a glitch. Try re-installing your qb 64
@tushardesai150
@tushardesai150 2 жыл бұрын
awesome :)
@eli37co
@eli37co 2 жыл бұрын
Need to check devision by zero
@mahertaha9529
@mahertaha9529 11 жыл бұрын
goooooddd
@spencerh8426
@spencerh8426 10 жыл бұрын
Hey is this app safe?
@austinfrancis4120
@austinfrancis4120 9 жыл бұрын
i'm not even 18 and i am using it so tell me if its safe
@paramrajeshirke26
@paramrajeshirke26 8 жыл бұрын
+AUSTIN FRANCIS lmao haha
@somebody9033
@somebody9033 8 жыл бұрын
+AUSTIN FRANCIS YES IT IS. I AM ONLY 8 AND I USE IT
@HAAAAAAAAHHHHHH
@HAAAAAAAAHHHHHH 3 жыл бұрын
@@somebody9033 now you're 13 😂
QBasic Tutorial 13 - Random Numbers - QB64 - Randomize
3:52
SchoolFreeware
Рет қаралды 32 М.
QBasic Tutorial 25 - Sound And Music - QB64 - Ode To Joy - Beethoven
4:52
Mom had to stand up for the whole family!❤️😍😁
00:39
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 7 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 30 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
How to: Work at Google - Example Coding/Engineering Interview
24:02
Life at Google
Рет қаралды 7 МЛН
QBASIC Programming Tutorial - 10 - Building a Basic Calculator
10:22
Mastering Backend
Рет қаралды 9 М.
Apple, Stop Putting Things On the Bottom Please
9:16
TechLinked
Рет қаралды 190 М.
how to make a calculator in qbasic
7:23
Raman Shakya
Рет қаралды 8 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 41 МЛН
COBOL Course - Programming with VSCode
1:17:04
freeCodeCamp.org
Рет қаралды 209 М.
Object Oriented Programming is not what you think it is. This is why.
13:36
Mom had to stand up for the whole family!❤️😍😁
00:39