Computer Science, asked by rawatdevesh05639, 1 day ago

Write a program to find the largest number from the following list.(without using inbuilt function). A = [23, 12, 45, 67,]​

Answers

Answered by gautamsinghdadwal
0

Answer:

public class Number

(

int a= 23;

int b= 12;

int c=45;

int d= 67;

char ch;

public void display ()

(

switch (ch)

(

case 1: System. out. println( " a is largest ");

break;

case 2: System. out. println( " b is largest ");

break;

case 3: System. out. println ( " c is largest ");

break;

case 4: System. out. println (" d is largest ");

break;

)

)

)

Explanation:

Please subscribe to my YT channel Pixar fan forever

Similar questions