write a program to genarate the following out put 5,10,9 assign value 5 to a varible using assigment opratour = multiply it with 2 to genarate and subtract 1 to generate 9
Answers
Answered by
0
Since no particular programming language is mentioned, I am writing in Java.
public class program
{
public static void main(String arge[])
{
int a = 5,b,c;
b = a*2;
c = b-1;
System.out.println(a+","+b+","+c);
}
}
Hope it helps you...
Please mark it as brainliest...
^_^
Similar questions
English,
4 months ago
Social Sciences,
4 months ago
Hindi,
8 months ago
Math,
8 months ago
English,
11 months ago
Political Science,
11 months ago