Computer Science, asked by nimmanasweta75, 1 year ago

L12. Write a program in Java to accept a String in upper case and replace all the vowels
with Asterisk (*) present in the String.
Sample Input : "TATA STEEL IS IN JAMSHEDPUR"
Sample output : T*T* ST**L *S *N J*MSH*DP*R​

Answers

Answered by Anujverma383
1

Answer:

import java. util .*;

class acc

{

public static void main ()

{

Scanner sc = new scanner (system.in);

system. out println (enter strig);

String S = sc. nextLine;

int len=

Similar questions