d) What is the output of the following program snippet:
char k='D';
int a=16; float b=29.78;
System.out.println((int)k+a);
System.out.println(“The ans=”+a+b);
Answers
Answered by
0
Answer:
output
84 (ASCII value of D is 68.
the ans= 45.78
Explanation:
please mark as brainliestes and follow me
Answered by
0
Answer:
System.out.println(int)k+a);
Similar questions
Social Sciences,
3 months ago
Social Sciences,
3 months ago
English,
6 months ago
English,
6 months ago
Math,
10 months ago
Math,
10 months ago