Computer Science, asked by riyanmallick43, 13 hours ago

Write a Qbasic program to store a single digit number in S, double digit number in D and three digit number in T. Calculate and print sum of S,D and T, difference of T and D.​

Answers

Answered by prasath201198
1

Answer:

class Main{

public static void main (String[] args){

int S=5, D=10, T=100;

int sum= S+D+T;

int difference= T-D;

System.out.println(sum);

System.out.println(difference);

}

Explanation:

o/p

sum = 115

diff= 90

hope its use full to you make Brainliest

Similar questions