Question: Hi, I would like to fix my java program please help me to fix. 1.I would like let users enter two strings to make a

Hi, I would like to fix my java program please help me to fix.

1.I would like let users enter two strings to make a table so help me to get user input(two strings)

also if you know how to make raws and columns to make a table please help me to revise it with this code.

Left is the one I want to make but right is my result how can I make look like the left one?

Hi, I would like to fix my java program please help meto fix. 1.I would like let users enter two strings to make

2.I have an error at the end of result any number is not supposed to be shown, but something wrong you look 3 at the end please help to remove it!

Here's are my code!

import java.util.*; import java.lang.*; import java.io.*;

class Test2 { public static int minDistance(String word1, String word2) { int m=word1.length(); int n=word2.length(); int[][] mem = new int[m+1][n+1]; for(int[] arr: mem){ Arrays.fill(arr, -1); } for(int i=0;i S43443 R33332 A22223 w11234 01234 STAR 43443 33332 22223 11234 012343

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!