-
Javascript to VB
Can somebody help me convert this to VB?
I need to multiply two numbers together without using *
- System.out.println("Enter the first number");
- BufferedReader obj =newBufferedReader(newInputStreamReader((System.in)));
- int a=Integer.parseInt(obj.readLine());
- System.out.println("Enter the Second number");
- int b=Integer.parseInt(obj.readLine());
- int c=0;
- for(int i=0;i<b;i++){
- c=c+a;
- }
- System.out.println("The Product is"+c);
- }
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules