QBASIC String Program


Input - enter a string : ARYAN
ENTER THE NUMBER: 3
OUTPUT:

   A
   R
    ARYAN
   A
   N

Second largest number in java using ternary operator

 //Largest second number using ternary operator public class Main { public static void main(String[] args) { int a=5,b=6,c=7; int ...