Write a program to accept the values of A,B,C and print there sum. in Qbasic
Answers
Answered by
3
'Project Type: Brainly Answer
'Date Created: 09-02-2021
'Date Edited Last Time: ---NIL---
'Question Link: https://brainly.in/question/34899233
'Question: Write a program to accept the values of A, B, C and print their sum.
'Program Created By: atrs7391
'Programming Language: QB64 / QBasic
'Language version (When program created or last edited): QB64 v1.4
CLS
'clearing screen
INPUT "ENTER NUMBER A: ";A
'taking input from user
INPUT "ENTER NUMBER B: ";B
'taking input from user
INPUT "ENTER NUMBER C: ";C
'taking input from user
SUM = A+B+C
'adding the number and storing them in variable SUM
PRINT "SUM OF A, B, C = ";SUM
'printing the sum of A, B, C
Similar questions
Math,
1 month ago
Hindi,
1 month ago
Social Sciences,
2 months ago
Physics,
9 months ago
Science,
9 months ago