Computer Science, asked by niveda1156, 2 months ago

Write a program to accept the values of A,B,C and print there sum. in Qbasic

Answers

Answered by atrs7391
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