hi
is there anyone who can help me to create a game program in pascal
hoping that one of you can help me please
even a simple calculator coz i really dont know how to create
cp3mvp
0
Newbie Poster
Recommended Answers
Jump to PostIt is a really simple calculator :)
program simple_calculator; uses crt; var a,b,result:real; m:set of char; choice:char; begin clrscr; m:=[]; include(m,'+'); include(m,'-'); include(m,'*'); include(m,'/'); repeat write('num1: '); readln(a); write('num2: '); readln(b); write('operator: + - * / : '); readln(choice); case choice of '+':result:=a+b; '-':result:=a-b; '*':result:=a*b; '/':result:=a/b; end; …
All 4 Replies
FlamingClaw
98
Posting Pro
dsfsdfsd
0
Newbie Poster
Razi_1
0
Newbie Poster
DonnSchwartz
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.