write a Q basoc program to display the value of a =x+y÷z if x =5 , y=7 , z =8
Answers
Answered by
0
Answer:
1.5
Explanation:
a=5+7÷8
a=12÷8
a=1.5
Answered by
2
Question:-
Write a QBASIC program to display the value of a =x+y÷z if x =5 , y=7 , z =8.
Program:-
This is the required program.
CLS
X=5
Y=7
Z=8
A=X+Y/Z
PRINT A
END
Output:-
5.875
Similar questions